|
|
|
Forum 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
|
|
|
|
|
FusionCharts 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
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 2/13/2008 8:05:02 AM
Posts: 9,
Visits: 35
|
|
|
|
|