Jump to content
JChartFX Community

guruvaarun

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by guruvaarun

  1. From the json user gives the color to the individual bars such as

    [

                                    { "Sales": 2,"Month":"Jan","color":"#000000"},

                                    { "Sales": 2,"Month":"Feb" ,"color":"#0afbaf"},

                                    { "Sales": 5, "Month": "Mar" ,"color":"#c0f0f0"},

                                    { "Sales": 1, "Month": "Apr" ,"color":"#d0f0d0"},

                                    { "Sales": 8, "Month": "May" ,"color":"#aaaaaa"},

                                    { "Sales": 5, "Month": "Jun" ,"color":"#110101"},

                        ]

     

    by using the setcolor() method i can able to change the default color to user specified color. But in the legends i am getting the default color and single value only displayed init.

    for more details see this example. http://jsfiddle.net/Fe3Qt/

×
×
  • Create New...