Axis Styles

WebCharts3D uses MxAxisStyle class to represent chart objects. Some of the charts have only one axis (dial, radar), some might have more. The charts that use frames can use up to 5 different axis objects - X axis, primary Y axis, optional secondary Y axis, and primary and secondary Y axes for the optional secondary view.

WebCharts3D Axis object editor consists of two panes depicted by Pic.1. and Pic.2. "Style" subpane allows you to define all axis attributes with exception of label and parse formats that can be defined in the "Format" subpane.



Pic.1.

Pic.2.

The following four types of the axes are supported in this product:

Category
Used for displaying category names across X axis. Cannot be used for Y axes. Category scales can be bucketed or unbucketed. Bucketed axes show labels centered in the corresponding bucket and are good for bar and pyramid charts. An unbucketed axis places the first label at its beginning and the last label at its end, which might be a better solution for line, area, and other continuous charts.
Scale
Used for displaying equally spaced labels. Can be used with both X and Y axes. Scale axes use labelCount to determine the number of the labels to be displayed. A value of 0 tells WebCharts3D to automatically select the appropriate number of the labels. A positive value is a hint to the engine, but not the requirement and the engine will attempt to adjust the axis range in such manner that the specified number of the labels can be displayed. To force the engine to display the exact number of labels without adjusting the range you can use negative values. For example, a negative value of -9 will tell the engine to split the range into 8 equal intervals. Note that when Scale/Logarithmic/DateTime axes are used with the X axis, then the category labels are parsed using parse format associated with the axis to obtain the actual values.
Logaritmic
Used for displaying logarithmic scales. There are three different subtypes of this scale:
ExcludeMinor - Only integer powers of the base are used as labels. For example, for the range (1,100) three labels - 1, 10 and 100 will be shown.
IncludeMinor - Each interval between integer powers is split into 'base' number of subintervals. For example, for the range (1,100) twenty labels are shown: 1,2,3,...9,10,20,30,...90,100.
IncludeEven - Same as IncludeMinor, but only every second label from subinterval is shown.
These scales can handle only positive values.
DateTime
Used for displaying dates and times. These scales use major and minor units and steps to control the labels and gridness. Minor unit and minor step define the granularity of the date. For example, if minorUnit set to Day, then hours, minutes, seconds and milliseconds will be ignored when computing the element position. MajorUnit and majorStep define the label placement. For example when you are displaying one year historical data, you might want to set minorUnit to the day, but majorUnit to Week or Month in order to correctly compute the element position, but to avoid having too many labels. Note that majorUnit should be equal or greater than minorUnit. The exception is Week and Month which are not comparable.

WebCharts3D supports four different label orientations - Horizontal, Vertical, Slanted and Parallel (same as Horizontal for the charts with non-slanted xAxis). The labels can be automatically split into multiple lines when isMultiline flag is set to true. Note that this flag is a hint to the engine, not a requirement. In order to force a line break you can introduce '\n' (linefeed) character into the label. This flag is not used in Multilevel mode, when the labels are displayed on the different levels.

For the detailed description of the axis styles, label styles and axis title styles please refer to MxAxisStyle , MxAxisLabelStyle, and MxAxisTitleStyle class documentation. For information about Format pane and its attributes see Format  section.