-
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 shows fixed number of predefined ticks and labels given with initialization as arrays.
It can be in one of two modes:
- if number of ticks is equal to number of labels (or ticks array is not defined) than each label has a corresponding tick;
- if number of ticks is one more than number of labels than each label corresponds to an interval and is placed between two neighboring ticks.
Ticks are values in plot coordinates, if not defined they are considered to be sequential indexes. Labels can be tilted by passing a value to the Angle parameter.
Labelled axis is union case of type FSharpIDD.Chart.Axis
and is of a record type LabelledAxisRecord.
To create a labelled axis there is a useful helper function:
createTiltedLabelledAxis ticks labels angle
To create a labelled axis with a tilted labels:
createLabelledAxis ticks labels