Tuesday, 15 April 2014

javascript - Highcharts Column Graph with background color? -


I am trying to create a column graph in HighThat and it is not working very hot. I am essentially trying to give the column a background color which can be a data point overlay. I really want the effect of stacking without stacking, if he understands what can I do but any thoughts? Basically I want to see it like a progress bar ... there should be a different color between the top of the bar and the top of the graph. I've already tried stacking: percent, but no avail idea:

gave three options 1) To achieve the 'effect' of stacking, actually stack it: Use a dummy series with a color set for the background color, and the actual data Set with values ​​to fill the gap from.

example :

[[edit for questions

The series does not matter to work for it, nor is there a legend index.

If you are using several series, then what's the matter, this is stack property for each series

each group needs its stack , And the dummy series and the actual series within each group need to be assigned to the same stack.

In addition, you will get an overall maximum

(keep in mind, process and process your data There are very easy ways to do this - this is a quick and filthy example. The purpose of the W null is to show how to use stack to properly use the property)

]

2) Plotband, as mentioned above

3) Using the optional grid corral property And every b Set up your data to X leave Axis value between scheme.

Reference:

-


No comments:

Post a Comment