Reference > Style examples > No Axis is drawn

No Axis is drawn

The appropriate axis is not drawn. This may be used with either X or Y axes, or may be applied to the chart as a whole.


sp.YAxisStyle = YAxisStyles.NoAxis;
sp.XTickStyle = XTickStyles.NoTicks;
sp.Heading = "Y-Axis is not Required Here";
sp.SetValueFont("Arial",14,FontStyle.Bold,Color.Green);
sp.SetLabelFont("Arial",10,FontStyle.Bold,Color.Navy);
sp.DrawBarChart(new int[] {10,26,31,42});

This style is generally used where the value tags provide sufficient information on the data.


Send comments on this topic
© Dyalog Ltd 2013