Giter Club home page Giter Club logo

flexgauge's Introduction

##A standalone Gauge component for Adobe Flex 4.

Skinnable, somewhat stylable and quite flexible. Though lots of stuff is still hardcoded. There are probably bugs too. I know it doesn't really work for negative max values, yet.

See a demo here: http://dl.dropbox.com/u/3259215/gauge-demo/gaugetestflash.html View source is enable in the demo so you can see how the component is used.

###Quick howto use this in your Flex 4 project: Clone (or, preferably, fork-then-clone) this project and then import it into Flash Builder. It should get imported as a Flex Library project. Then you have at least two options:

  1. Add the gauge library project to the Build Path of the project you need the gauge in.
  2. Build the library project and copy the resulting swc-file out of the bin/ folder and put it in the libs/ folder of your gauge-needing project.

Option 1 is to prefer I'd say, because then you can much easier follow what's going on in the debugger, fix bugs in the gauge and such. Option 2 assumes you have a standard setup project with a library folder called libs/ setup in your projects Build Path.

###Keep your fork in sync If you fork this repository and still want to keep your fork in sync with any bug fixes/changes in this repo that I either make myself or pull in from pull requests from others; This is the easiest way I have found:

  1. Add this repository as a remote upstream to the clone of your fork:
    git remote add upstream https://[email protected]/PEZ/FlexGauge.git
  2. Then fetch from upstream:
    git fetch upstream
  3. Whenever you want to merge in any changes in the main repo:
    git merge upstream/master

That last step is assuming you want to merge the master branch of course, but that's the only branch there is yet anyway. =)

###Origins The gauge is based on this work by Smith & Fox. Which in turn was based on the now famous Degrafa Gauge by Thomas Gonzales.

flexgauge's People

Contributors

mauget avatar pez avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.