Sign in to follow this  
pablo

HLinearGauge maximum value

Recommended Posts

Hi! I've created some HLinearGauge charts but I have a problem in some of them... I need a maximum value less than 100, for example:

<?xml version="1.0" encoding="us-ascii"?>
<chart lowerLimit="0" upperLimit="79" palette="1" showTickMarks="0" showTickValues="0" baseFontColor="000000">
  <colorRange>
   <color minValue="0" maxValue="43" code="8BBA00" label="43" />
   <color minValue="43" maxValue="69" code="FF654F" label="26" />
   <color minValue="69" maxValue="79" code="FFFFFF" label="10" />
  </colorRange>
</chart>

But when the chart is created, the last color range goes from 69 to 100 (all the rest is ok). What can I do? Thanks!

Share this post


Link to post
Share on other sites

Hi,
 
Could you please try using the following XML?
 
<chart lowerLimit="0" upperLimit="79" palette="1" showTickMarks="0" showTickValues="0" baseFontColor="000000" pointerBgAlpha='0' pointerBorderAlpha='0' showValue='0' >

  <colorRange>

  <color minValue="0" maxValue="43" code="8BBA00" label="43" />

  <color minValue="43" maxValue="69" code="FF654F" label="26" />

  <color minValue="69" maxValue="79" code="FFFFFF" label="10" />

  </colorRange>

<pointers>

  <pointer value='1' />

</pointers>

</chart>

Share this post


Link to post
Share on other sites

Thanks for your answer, but I need the pointer not to be seen. What I finally did was to make the graph with % values and show absolute values in labels :D:

<?xml version="1.0" encoding="us-ascii"?>
<chart lowerLimit="0" upperLimit="100" showTickMarks="0" showTickValues="0" baseFontColor="000000" bgColor="FFFFFF" showBorder="0">
  <colorRange>
   <color minValue="0" maxValue="55.1" code="8BBA00" label="43" />
   <color minValue="55.1" maxValue="87.2" code="FF654F" label="25" />
   <color minValue="87.2" maxValue="100" code="FFFFFF" label="10" />
  </colorRange>
</chart>

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Welcome to FusionCharts forum. :D

Could you please specify the issue a bit elaborately.

Awaiting your reply. :hehe:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this