I have a bar graph and the last entry is not showing if the value is zero.
Example code
axTChart1.Series(0).Add(1, "AC - Milling & Overlay", 536870912);
axTChart1.Series(0).Add(1, "Cleaning", 536870912);
axTChart1.Series(0).Add(3, "Data Collection", 536870912);
axTChart1.Series(0).Add(0, "Inspect", 536870912);
axTChart1.Axis.Left.Ticks.Visible = false;
axTChart1.Series(0).Marks.Style = TeeChart.EMarkStyle.smsValue;
axTChart1.Series(0).Marks.Font.Color = 1776411;
axTChart1.Series(0).Marks.Clip = false;
axTChart1.Series(0).SortByLabels(TeeChart.EValueListOrder.loDescending);
Inspect is the value that does not show up is it is zero. If I make it any other value is does show up. The other entries always show up even is they are zero. Attached is a visual studio 2010 project showing the problem.
The bottom entry in the horizontal bar graph is not showing
-
- Newbie
- Posts: 11
- Joined: Thu Sep 02, 2010 12:00 am
The bottom entry in the horizontal bar graph is not showing
- Attachments
-
- NotShowingLastEntryWhenZeroValues.zip
- (436.72 KiB) Downloaded 551 times
-
- horz bar graph.jpg (28.64 KiB) Viewed 6034 times
Re: The bottom entry in the horizontal bar graph is not showing
Hi Cartegraph,
I've seen that in your chart you've set Left Axis MinimumOffset to 32 and Left Axis MaximumOffset to 37. I've seen that setting the same Minimum and Maximum Offsets, the problem disappears:
Could you please confirm it?
I've seen that in your chart you've set Left Axis MinimumOffset to 32 and Left Axis MaximumOffset to 37. I've seen that setting the same Minimum and Maximum Offsets, the problem disappears:
Code: Select all
axTChart1.Axis.Left.MaximumOffset = axTChart1.Axis.Left.MinimumOffset;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 11
- Joined: Thu Sep 02, 2010 12:00 am
Re: The bottom entry in the horizontal bar graph is not showing
That worked! Thanks for the quick reply!
Re: The bottom entry in the horizontal bar graph is not showing
Hi Cartegraph,
You're welcome. I'm glad to see you satisfied with it!
You're welcome. I'm glad to see you satisfied with it!
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |