pitommasi

Colouring Range For Bar Charts

Recommended Posts

Hi!

 

Would it be possible to create colouring ranges for bar charts?

 

Something like the MAP:

 

<colorRange><color minValue="0" maxValue="500000.000000001" color="e7fcae" displayValue="Up to 500,000"/><color minValue="500000.000000002" maxValue="50000000.000000001" color="45779e" displayValue="500,000 to 50,000,000"/><color minValue="50000000.000000002" maxValue="500000000000" color="332580" displayValue="Over 50,000,000"/><color minValue="-1" maxValue="0" color="ffffff" displayValue="No data"/></colorRange>

If not, can you please consider it a feature request?

 

Best regards.

Share this post


Link to post
Share on other sites

Think about the colorRange functionality of the maps.

 

For example, the following piece of XML:

 

<colorRange>
<color minValue="0" maxValue="5"  color="e7fcae" displayValue="Up to 5"/>
<color  minValue="5" maxValue="`15" color="45779e"  displayValue="5 to 15"/>
<color  minValue="15" maxValue="50" color="332580"  displayValue="Over 15"/>
<color minValue="-1" maxValue="0"  color="ffffff" displayValue="No data"/>
</colorRange>

 

would produce a chart like the one in the picture.

post-14963-0-77389000-1343295620_thumb.png

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

You can explicitly set the colors for each data-plot using color attribute.

 

Ref. Code:

<set label='January' value='17400' color-'006699'/>

Share this post


Link to post
Share on other sites

Thank you for your reply.

 

I already do what you are suggesting.

 

I was proposing a better implementation, consistent with FusionMaps, to avoid further calculations for the user:

 

this way the only thing that your user would have to do is to specify a range.

 

Regards

Share this post


Link to post
Share on other sites
Guest Sumedh

Hey,

 

We have added this feature request in our wishlist.

 

If feasible, we will try to add this feature in future releases.

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