Mennims

Members
  • Content count

    2
  • Joined

  • Last visited

About Mennims

  • Rank
    Forum Newbie
  1. Hi Soumya, Thank you for taking your time to help me out with this, however I don't think you understand what my request is. I know how to make it work properly with the colorRange object, the problem I have is that I have to enter a max value, which won't always be static. I won't always have values ranging from 1-10, depending on data it might be from 1 to 666. I'd like FusionCharts to determine the max value for me, it could look at the cell that has the highest value and set the maxValue internally for me. I suggest having a look at my example JSON again, I provided an example of the JSON I'd like to provide FusionCharts to get the desired effect. Keep in mind that FusionCharts knows how to determine the max value automatically, because if you do not provide the colorRange object, and just a single colour, it automatically determines the gradient of the colour from 1 to the highest value cell in the chart. The problem I have with this is that it only allows a range from BLACK to the specified colour, instead of a specified colour to a specified colour.
  2. Hi, I'm trying to make my heatmap chart gradient range from white to red. If I specify the red color code in the color range object for the chart it will range from black to red, which is not ideal for my use case. To fix this I'd have to do the following "colorRange": { "gradient": "1", "minValue": "0", "code": "#ffffff", "startLabel": "Poor", "endLabel": "Good", "color": [ { "code": "#FF0000", "maxValue": "666" }] } This works as expected, however the problem is that I have to specify the max value, which means I need to find the highest value column in the heatmap chart and apply that value to the maxValue key, which makes this far less convenient than it could be. It would be great if I could do something like this "colorRange": { "gradient": "1", "minValue": "0" "startCode": "#ffffff", "code": "#FF0000", "startLabel": "Poor", "endLabel": "Good" } Which would result in the following Thanks in advance