vcl-dxchartxydiagram-e39828e0.md
A secondary axis of values in a collection of Y-axes.
TdxChartSecondaryAxisYCollectionItem = class(
TdxChartCustomSecondaryAxisCollectionItem
)
A secondary axis of values allows you to complement the main axis of values (Y-axis) with a different scale. For example, a secondary axis can be useful if you need to display multiple measurement units simultaneously.
Note
The TdxChartSecondaryAxisYCollectionItem class is a wrapper for the TdxChartSecondaryAxisY class that implements the functionality of a secondary axis of values.
The list below outlines key members of the TdxChartSecondaryAxisYCollectionItem class that allow you to configure a secondary axis of values.
AppearanceAllows you to customize general appearance settings.MinorCountSpecifies the number of minor tick marks between every two major tick marks.TicksProvides access to all appearance settings of major and minor axis tick marks.TitleSpecifies a title for the secondary axis and allows you to change title appearance and position.ValueLabelsAllows you to display and customize axis value labels.
GridlinesAllows you to display and customize axis grid lines.InterlacedSpecifies if the axis highlights all interlaced diagram areas bound by major tick marks.Logarithmic | LogarithmicBaseAllow you to enable a logarithmic scale for the numeric axis and adjust the scale’s logarithmic base.NumericScaleOptions | RangeAdjust the numeric value range of the axis.ReverseSpecifies if the axis scale direction is reversed.
To delete an individual secondary axis of values, release it directly in code (call the Free procedure in Delphi or use the delete keyword in C++Builder).
AssignCopies compatible settings between secondary chart axes.
The following public API members reference a TdxChartSecondaryAxisYCollectionItem object:
TdxChartSecondaryAxisYCollection.AddAdds a new secondary axis of values to the collection.TdxChartSecondaryAxisYCollection.ItemsProvides indexed access to stored secondary axes of values.
TObject TPersistent TCollectionItem TcxInterfacedCollectionItem TdxChartCustomSecondaryAxisCollectionItem TdxChartSecondaryAxisYCollectionItem
See Also
TdxChartSecondaryAxisXCollectionItem Class