If the series data is missing information then the bar chart will have holes in the stacks.
For example, if you have two series and the following data:
Series 1 Series 2
# Text X Bar X Bar
1 8 1,079 8 2,908
2 10 1,918 9 4,198
3 11 1.406 10 4,286
4 12 1,835 11 4,717
5 12 4,066
The stacked bar for the 9 and 11 entries will contain gaps.
I have sent an email to the support e-mail address with a jpeg of the Data Table for the chart and the resulting chart display.
Holes in data causes drawing problems for Bar Charts
Hi MikeD,
Yes, the problem is when setting a value for an X in one series and not in the other. Then, teechart draws the first series well and the second series according to ValueIndex, not to X values as expected.
I've added it to the wish list to be investigated and fixed in further releases (TV52012840).
Note that as a workaround you could add a null point at desired place:
Yes, the problem is when setting a value for an X in one series and not in the other. Then, teechart draws the first series well and the second series according to ValueIndex, not to X values as expected.
I've added it to the wish list to be investigated and fixed in further releases (TV52012840).
Note that as a workaround you could add a null point at desired place:
Code: Select all
Series1.AddNullXY(9,0);
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |