class anychart.core.calendar.settings.Months Improve this Doc
Extends: anychart.core.Base
Months settings.
Methods Overview
Coloring | |
noDataStroke() | Stroke settings. |
stroke() | Stroke settings. |
Labels | |
labels() | Months labels settings. |
Size and Position | |
underSpace() | Space between labels and plot. |
Methods Description
labels
Getter for months labels.
Returns:
anychart.core.ui.LabelsFactory - Labels instance.Setter for months labels.
Params:
Name | Type | Description |
---|---|---|
settings | Object | boolean | null | Labels settings. |
Returns:
anychart.core.calendar.settings.Months - Self instance for method chaining.noDataStroke
Gets the stroke value for months that doesn't represent data.
Detailed description
This method can be used as getter only if the value has been previously set.
Returns:
anychart.graphics.vector.Stroke - Stroke settings.Setter for stroke settings.
Learn more about stroke settings.
Params:
Name | Type | Default | Description |
---|---|---|---|
color | anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null | Stroke settings. | |
thickness | number | 1 | Line thickness. |
dashpattern | string | Controls the pattern of dashes and gaps used to stroke paths. | |
lineJoin | string | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
lineCap | string | anychart.graphics.vector.StrokeLineCap | Line cap style. |
Returns:
anychart.core.calendar.settings.Months - Self instance for method chaining.Setter for stroke settings using an object.
Params:
Name | Type | Description |
---|---|---|
settings | Object | Object with stroke settings from anychart.graphics.vector.Stroke |
Returns:
anychart.core.calendar.settings.Months - Self instance for method chaining.stroke
Gets the stroke value for months cells that represents data.
Detailed description
This method can be used as getter only if the value has been previously set.
Returns:
anychart.graphics.vector.Stroke - Stroke settings.Setter for stroke settings.
Learn more about stroke settings.
Params:
Name | Type | Default | Description |
---|---|---|---|
color | anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null | Stroke settings. | |
thickness | number | 1 | Line thickness. |
dashpattern | string | Controls the pattern of dashes and gaps used to stroke paths. | |
lineJoin | string | anychart.graphics.vector.StrokeLineJoin | Line join style. | |
lineCap | string | anychart.graphics.vector.StrokeLineCap | Line cap style. |
Returns:
anychart.core.calendar.settings.Months - Self instance for method chaining.Setter for stroke settings using an object.
Params:
Name | Type | Description |
---|---|---|
settings | Object | Object with stroke settings from anychart.graphics.vector.Stroke |
Returns:
anychart.core.calendar.settings.Months - Self instance for method chaining.underSpace
Gets the value of a space between months labels and a calendar plot.
Returns:
number - Space between labels and plot.Sets the value of a margin between months labels and a calendar plot.
Params:
Name | Type | Description |
---|---|---|
value | number | Value to set in pixels. |
Returns:
anychart.core.calendar.settings.Months - Self instance for method chaining.