The bottom entry in the horizontal bar graph is not showing
Posted: Sat Nov 20, 2010 3:01 pm
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.
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.