Chart ColumnSeries - How to restart values on X axis for next series

Feb 26, 2010 at 5:17 AM

I have 2 sets of data - Set 1 is for stock "A" and has data for days 1-7. Set 2 is for stock "B" and has data for days 1-7. I'm using a column series to display this data on a chart (X axis corresponds to day number). What I'd like to do, is to display it such that data for stock "A" shows up first - days 1 through 7, followed by data for days 1-7 for stock "B". I.e. the X asis shows days 1-7 for "A" and then restarts the ticks for "B".  What is currently happening is that I see 2 columns side by side for each day (for "A" and "B").

Is there a way I can make this happen via configuration, or will I need to write my own series etc.?


Mar 12, 2010 at 3:02 PM

What you can do is label the datapoints with the same label...

So Datapoints for day 1 of stock A and B get both "day 1" ... than they will get grouped together on the CategoryAxis (your X Axis) and can be distinguished by color.


If you find a way that they can be displayed intermixed with different labels let me know ;)