ChartDirector 6.0 (Ruby Edition)
Axis.setMultiFormat
Usage
Description
Filter | Description |
---|---|
ChartDirector.StartOfHourFilter | Creates a data filter that matches date/times that represent the start of a new hour in a date/time series. |
ChartDirector.StartOfDayFilter | Creates a data filter that matches date/times that represent the start of a new day in a date/time series. |
ChartDirector.StartOfWeekFilter | Creates a data filter that matches date/times that represent the start of a new week in a date/time series. |
ChartDirector.StartOfMonthFilter | Creates a data filter that matches date/times that represent the start of a new month in a date/time series. |
ChartDirector.StartOfYearFilter | Creates a data filter that matches date/times that represent the start of a new year in a date/time series. |
ChartDirector.RegularSpacingFilter | Creates a data filter that matches 1 out of every N elements. |
ChartDirector.AllPassFilter | Creates a data filter that matches every element. |
ChartDirector.NonePassFilter | Creates a data filter that matches no element. |
ChartDirector.SelectItemFilter | Creates a data filter that matches one specified item. |
Arguments
Argument | Default | Description |
---|---|---|
filter1 | (Mandatory) | The filter that defines the first kind of labels. |
format1 | (Mandatory) | The format string for the first kind of labels. |
filter2 | (Mandatory) | The filter that defines the second kind of labels. |
format2 | (Mandatory) | The format string for the second kind of labels. |
labelSpan | 1 | The number of label positions that are claimed by one label. If a label occupies more than 1 position, ChartDirector will not put labels on nearby positions, even if they meet the filter criteria. |
promoteFirst | true | If set to true, the first label will be promoted to a higher filter category in the multi-format list. |
Return Value