ZoomCharts Documentation
Switch to Version 2.0 (BETA)
FacetChart.settings.seriesDefault.style.comment.iconStyleChartSelected
Optional style applied on top of {@link iconStyleSelected} when drawing the selected comment marker inside the chart. The sidebar icon ignores this (e.g. drop shadow on chart selection only).
Properties
Text alignment.
The angle at which the label are rotated
Ratio between label sizes in different dimensions
View section details
Background style including fill color.
Radius of item border. Similar to CSS border radius property. Zero radius will show a rectangle
Controls the order the label is drawn in if the label supports configurable draw order. Lower numbers are always drawn before later numbers, and any non-zero drawOrder is always drawn after other chart elements. Note this cannot force drawing order to change beyond the boundaries of things like rendering clips.
Extra data associated with the label
Label image.
Slicing to use tiled images. Array of 4 values: [left, top, width, height]
Vertical space between the lines of text. In multiples of text line height.
Margin around label text
Maximum width of the label.
Minimum total height of the label background box in pixels. After content is measured, height is floored to this value (content may still force a larger size).
The minimum space, in pixels, that a label must display before shortening the label with ellipsis is considered.
Minimum total width of the label background box in pixels. After content is measured, width is floored to this value (content may still force a larger size). Useful with {@link minHeight} and a large {@link borderRadius} to keep compact icons circular when text fits.
Comments panel only: horizontal shift from the default sequential layout origin. Reduces available width for this label by the same amount. Ignored when painting in-chart markers.
Comments panel only: vertical shift from the default sequential layout origin. Subsequent panel content continues after this label's final bounds. Ignored when painting in-chart markers.
Specifies how the label handles overlap if the label supports configurable overlap strategy.
Valid values:- none - Ignore overlap and draw anyways
- skip - Don't draw if it overlaps a previously drawn label
- moveup - Move the label upwards until it no longer overlaps other labels.
- movedown - Move the label downwards until it no longer overlaps other labels.
- movevertical - Move the label either upwards or downwards to avoid overlap, depending on whichever direction moves the label less
Padding between item content and item border.
Label text.
View section details
Text style including fill color and font.