I'm trying to get a graph that looks like a gauge.
I am already using jQuery Flot for my other charts, so is it possible using Flot or plain Javascript? Can someone help me getting started coding this?
I'm trying to get a graph that looks like a gauge.
I am already using jQuery Flot for my other charts, so is it possible using Flot or plain Javascript? Can someone help me getting started coding this?
You can try jqChart's radial gauge. It has the functionality you need: http://www.jqchart.com/jquery/gauges/RadialGauge/Scale
Disclaimer: I work for jqChart.
This is similar to Visualize energy efficiency level, except that there is no way to do it using Flot's base options.
As suggested in my answer to that question, you will need to create a plugin that overrides drawBackground, drawSeries, and possibly draw.
Here it is only using base
flot
and a background image:Fiddle here.