How to specify the appearance of chart's axesThis topic is for all charts that use the Cartesian coordinate system - bar, line, area, scatter, bubble and so on. AxesThe axes are by default two - the X and Y. Y2 is drawn only if Y2Data is not empty. All axes can have both positive and negative parts.
The axis always contains the 0 number though it might not be drawn if DrawZero is set to false. The zero label uses the same appearance settings as the other chart labels. In axes that display DateTime values, the zero label is the StartDateTime property, if set, or the automatically calculated start value. Appearance settingsYou can customize the axes by using the XAxisSettings, YAxisSettings and Y2AxisSettings properties. The AxisSettings object can be edited at design time: Axis Labels as CustomText If the LabelType is set to CustomText, the labels are entered in the XLabels, YLabels or Y2Labels properties fields using the LabelsCollection Editor:
3D charts In 3d charts, the axes are drawn as polygons - the width of the polygon depends on Depth3D. The color of the axes might be changed with AxisShadowBrush:
See AlsoCreating Bar Charts |