PDA

View Full Version : Static Lines with ColumnChart



pyrite
19 Apr 2011, 5:06 AM
I'm using a columnchart inside a Panel, and in addition to the vertical bars which are plotted via data from a store, I'd like to have some static horizontal lines on the chart representing goals, but not dynamic lines, just static ones that I can define myself. The only requirement is that they show up on the legend.

So, in the series:[ I am using one type as column, with the yField as a reference to something in the store, then I have 2 more in the series as type 'line', but instead of pointing to something in the store, I just want to set a static value (e.g. 95%). How can I do that?

Let me know if I should post some code?

pmatsumura
19 Apr 2011, 5:48 AM
I'd like to see some code. It makes helping a lot easier.