Vertical led - scale range fixed at 0-100?
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Vertical led - scale range fixed at 0-100? Expand / Collapse
Author
Message
Posted 10/9/2007 8:06:42 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/13/2008 8:05:02 AM
Posts: 9, Visits: 35
Hi,

I am, using vertical led and trying to set the range from 0-5. Have set the min to 0 (lowerLimit='0') and the max to 5 (upperLimit='5').

However, when rendered the range displayed is 0-100. (I verified this by revealing the scale)

I have attached a screenshot & xml.

The chart is getting the realtime updates ok & the color range coding also works.

Code is below(I have inserted the line breaks) and screen shot is attached. (At a value of 4.5 out of a max of 5 I would expect most of the display to be fileld).

var chart1 = new FusionCharts("/fusion/charts/FusionCharts/VLED.swf", "ChId0", "40", "100", "0", "1");
chart1.setDataXML("<chart showLimits='1' useSameFillColor='1'   
decimals='2' adjustTM='1' showTickMarks='0' lowerLimit='0'
upperLimit='5' dataStreamURL='xxx.php?probe=leddata%26hosts=2%26metric=load1' showToolTip='1'
toolTip='1 Min Load Avg' numberSuffix='' chartLeftMargin='5' chartRightMargin='5' animation='1'
dataStamp='1191571200' refreshInterval='13'>
<colorRange>
<color minValue='0' maxValue='1' code='00FF00' />
<color minValue='1' maxValue='3' code='FFFF00' />
<color minValue='3' maxValue='5' code='FF0000' />
</colorRange></chart>");
chart1.render("chartid0");
 
How can I get the diplayed Led to only show the range 0-5 instead of 0-100?
 
tnx


  Post Attachments 
VLED.jpg (4 views, 2.59 KB)
Post #2650
Posted 10/9/2007 7:42:35 PM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 5/12/2008 6:29:47 AM
Posts: 1,772, Visits: 448
Please try setting the chart value to 0.

Thanks,
Pallav Nadhani
FusionCharts Team
Post #2661
Posted 10/10/2007 6:19:32 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/13/2008 8:05:02 AM
Posts: 9, Visits: 35
Thanks - it worked ok.
Post #2672
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 3:35am


Execution: 0.047.