-
Notifications
You must be signed in to change notification settings - Fork 1
Labelled axis
lucymukh edited this page Dec 27, 2018
·
8 revisions
Labelled axis is an axis with manually assigned text labels in a specified places.
It can be in one of two modes:
- each label corresponds to a tick;
- each label corresponds to an interval between ticks and is placed between two neighboring ticks.
To have labels in the first mode the number of ticks should equal the number of labels. To make labels correspond to intervals the number of ticks should be one more than number of labels.
If ticks are not defined they are considered to be sequential indexes.
Labelled axis is union case of type FSharpIDD.Chart.Axis
and is of a record type LabelledAxisRecord.
Create a labelled axis is convenient using a helper function:
createLabelledAxis ticks labels
Labels can be tilted by passing a value to the Angle parameter.
To create a labelled axis with a tilted labels:
createTiltedLabelledAxis ticks labels angle