Jump to content


Color Change


  • Please log in to reply
11 replies to this topic

#1 sth_syed

sth_syed

    Forum Member

  • Members
  • PipPipPipPip
  • 28 posts

Posted 27 September 2010 - 03:10 PM

I need a 3d bar chart something like

If >0 and <20 (blue color)
>21 and <40 ( Green Color)

each time only one value with the specified color should be displayed.

hope u understand my query and reply soon.

Thanks

Attached Files

  • Attached File  1.bmp   459.47K   104 downloads


#2 Basundhara Ghosal

Basundhara Ghosal

    Supreme Being

  • Members
  • PipPipPipPipPipPipPipPip
  • 2459 posts

Posted 28 September 2010 - 04:41 AM

Hi,

I am afraid, as of now FusionCharts does not support the same natively.

In case you need to apply it, you need to build up your own logical code for the same where each time the value would change, the color would get updated.

I hope this helps. :)
Regards,

Basundhara Ghosal

[url="http://www.twitter.com/fusioncharts"]Follow us[/url] on Twitter :D

#3 Sanjukta

Sanjukta

    Supreme Being

  • Administrators
  • 1926 posts

Posted 28 September 2010 - 04:44 AM

Hi,

FusionCharts natively does not support defining the color range, as of now. :)

But please try specifying the different colors in the <set> element so as to see the visual color range effect.

Ex: <chart>
<set value='20' color='FF0000'/>
<set value='32' color='0000FF'/>
...
</chart>

each time only one value with the specified color should be displayed.

Could you please specify the issue a bit elaborately?

In case your issue still persists, please send us the screeenshot of your requirement.

Hope this helps. :)
Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/

Thanks,
Sanjukta

Follow us @Twitter!

#4 sth_syed

sth_syed

    Forum Member

  • Members
  • PipPipPipPip
  • 28 posts

Posted 28 September 2010 - 06:15 AM

Thanks for reply dude,

I have attached the image for refrence.

same if output is >25 and <50 - blue color,

If output >50 <75 - orange color

if output >75 - green color

Thanks it works and my query get solved.


Hi,

FusionCharts natively does not support defining the color range, as of now. :)

But please try specifying the different colors in the <set> element so as to see the visual color range effect.

Ex: <chart>
<set value='20' color='FF0000'/>
<set value='32' color='0000FF'/>
...
</chart>


Could you please specify the issue a bit elaborately?

In case your issue still persists, please send us the screeenshot of your requirement.

Hope this helps. :)



#5 Basundhara Ghosal

Basundhara Ghosal

    Supreme Being

  • Members
  • PipPipPipPipPipPipPipPip
  • 2459 posts

Posted 28 September 2010 - 06:37 AM

Hi,

We are glad that your issue is resolved.

Keep smiling and keep FusionCharting. :)
Regards,

Basundhara Ghosal

[url="http://www.twitter.com/fusioncharts"]Follow us[/url] on Twitter :D

#6 sth_syed

sth_syed

    Forum Member

  • Members
  • PipPipPipPip
  • 28 posts

Posted 28 September 2010 - 03:15 PM

Hi Basundhara Ghosal ,

Thanks for reply, how can i utalize the feautre

Hi,

We are glad that your issue is resolved.

Keep smiling and keep FusionCharting. :)



#7 Basundhara Ghosal

Basundhara Ghosal

    Supreme Being

  • Members
  • PipPipPipPipPipPipPipPip
  • 2459 posts

Posted 29 September 2010 - 03:50 AM

Hi,

Could you please specify the issue a bit elaborately?

Awaiting your reply.
Regards,

Basundhara Ghosal

[url="http://www.twitter.com/fusioncharts"]Follow us[/url] on Twitter :D

#8 sth_syed

sth_syed

    Forum Member

  • Members
  • PipPipPipPip
  • 28 posts

Posted 29 September 2010 - 02:14 PM

Hi Ghosal,

My scenario is Student with marks.

I want to display particular students marks in chart.

If he get marks from 0 to 25 - Red color should be displayed.

If he get marks from 25 to 50- Blue color should be displayed.

If he get marks from50 to 75 - Yellow color should be displayed.

If he get marks from 75 to 100 - Green color should be displayed.

for each student only one bar should be there with specific color depending on marks.

Each time legends with specied for should be displayed.

This my scenario. Hope it will works

I have attached image above.

Thanks


Hi,

Could you please specify the issue a bit elaborately?

Awaiting your reply.



#9 Basundhara Ghosal

Basundhara Ghosal

    Supreme Being

  • Members
  • PipPipPipPipPipPipPipPip
  • 2459 posts

Posted 29 September 2010 - 02:22 PM

Hi,

In case you are using static data to the chart, please try specifying the color for each dataplot using the "color" attribute in the <set> element.

In case you are providing dynamic data to the chart(data from database) you need to create your own logic so that the color gets selected on the basis of the value range.

I hope this helps. :)
Regards,

Basundhara Ghosal

[url="http://www.twitter.com/fusioncharts"]Follow us[/url] on Twitter :D

#10 sth_syed

sth_syed

    Forum Member

  • Members
  • PipPipPipPip
  • 28 posts

Posted 17 October 2010 - 07:50 AM

thanks ghosal, It works.

Hi,

In case you are using static data to the chart, please try specifying the color for each dataplot using the "color" attribute in the <set> element.

In case you are providing dynamic data to the chart(data from database) you need to create your own logic so that the color gets selected on the basis of the value range.

I hope this helps. :)



#11 sth_syed

sth_syed

    Forum Member

  • Members
  • PipPipPipPip
  • 28 posts

Posted 17 October 2010 - 07:51 AM

thanks ghosal, It works.



#12 Basundhara Ghosal

Basundhara Ghosal

    Supreme Being

  • Members
  • PipPipPipPipPipPipPipPip
  • 2459 posts

Posted 18 October 2010 - 05:12 AM

Hi,

We are glad that your issue is resolved.

Keep smiling and keep FusionCharting. :)
Regards,

Basundhara Ghosal

[url="http://www.twitter.com/fusioncharts"]Follow us[/url] on Twitter :D