public class ChartOptions extends Options
| Modifier and Type | Class and Description |
|---|---|
static class |
ChartOptions.ResetZoomButtonOptions
Options for the zoom reset button.
|
| Modifier and Type | Field and Description |
|---|---|
Boolean |
alignTicks
When using multiple axis, the ticks of two or more opposite axes will automatically be
aligned by adding ticks to the axis or axes with the least ticks.
|
Object |
animation
Set the overall animation for all chart updating.
|
String |
backgroundColor
The background color or gradient for the outer chart area.
|
String |
borderColor
The color of the outer chart border.
|
Integer |
borderRadius
The corner radius of the outer chart border.
|
Integer |
borderWidth
The pixel width of the outer chart border.
|
String |
className
A CSS class name to apply to the charts container div, allowing unique CSS styling for each
chart.
|
Integer |
colorCount
In styled mode, this sets how many colors the class names should rotate between.
|
String |
description
A text description of the chart.
|
String |
height
An explicit height for the chart.
|
Boolean |
ignoreHiddenSeries
If true, the axes will scale to the remaining visible series once one series is hidden.
|
Boolean |
inverted
Whether to invert the axes so that the x axis is vartical and y axis is horizontal.
|
Integer |
marginBottom
The margin between the bottom outer edge of the chart and the plot area.
|
Integer |
marginLeft
The margin between the left outer edge of the chart and the plot area.
|
Integer |
marginRight
The margin between the right outer edge of the chart and the plot area.
|
Integer |
marginTop
The margin between the top outer edge of the chart and the plot area.
|
ThreeDOptions |
options3d
Options to render charts in 3 dimensions.
|
String |
panKey
Allows setting a key to switch between zooming and panning.
|
Boolean |
panning
Allow panning in a chart.
|
String |
pinchType
Equivalent to
zoomType, but for multi-touch gestures only. |
String |
plotBackgroundColor
The background color or gradient for the plot area.
|
String |
plotBackgroundImage
The URL for an image to use as the plot background.
|
String |
plotBorderColor
The color of the inner chart or plot area border.
|
Integer |
plotBorderWidth
The pixel width of the plot area border.
|
ShadowOptions |
plotShadow
Whether to apply a drop shadow to the plot area.
|
Boolean |
polar
When true, Cartesian charts like line, spline, area and column are transformed into the polar
coordinate system.
|
protected Boolean |
reflow
Whether to reflow the chart to fit the width of the container div on resizing the window.
|
ChartOptions.ResetZoomButtonOptions |
resetZoomButton
The button that appears after a selection zoom, allowing the user to reset zoom.
|
String |
selectionMarkerFill
The background color of the marker square when selecting (zooming in on) an area of the
chart.
|
ShadowOptions |
shadow
Whether to apply a drop shadow to the outer chart area.
|
Boolean |
showAxes
Whether to show the axes initially.
|
Integer |
spacingBottom
The space between the bottom edge of the chart and the content (plot area, axis title and
labels, title, subtitle or legend in top position).
|
Integer |
spacingLeft
The space between the left edge of the chart and the content (plot area, axis title and
labels, title, subtitle or legend in top position).
|
Integer |
spacingRight
The space between the right edge of the chart and the content (plot area, axis title and
labels, title, subtitle or legend in top position).
|
Integer |
spacingTop
The space between the top edge of the chart and the content (plot area, axis title and
labels, title, subtitle or legend in top position).
|
StyleOptions |
style
Additional CSS styles to apply inline to the container div.
|
protected PlotType |
type
The series type.
|
String |
typeDescription
A text description of the chart type.
|
Integer |
width
An explicit width for the chart.
|
ZoomType |
zoomType
Decides in what dimensions the user can zoom by dragging the mouse.
|
| Constructor and Description |
|---|
ChartOptions() |
@Option public Boolean alignTicks
@Option public Object animation
@Option public String backgroundColor
@Option public String borderColor
@Option public Integer borderRadius
@Option public Integer borderWidth
@Option public String className
@Option public Integer colorCount
@Option public String description
@Option public String height
@Option public Boolean ignoreHiddenSeries
@Option public Boolean inverted
@Option public Integer marginBottom
@Option public Integer marginLeft
@Option public Integer marginRight
@Option public Integer marginTop
@Option public final ThreeDOptions options3d
@Option public String panKey
@Option public Boolean panning
@Option public String pinchType
zoomType, but for multi-touch gestures only. By default, the pinchType
is the same as the zoomType setting. However, pinching can be enabled separately in some
cases, for example in stock charts where a mouse drag pans the chart, while pinching is
enabled. When tooltip.followTouchMove is true, pinchType only applies to two-finger touches.
Defaults to null.@Option public String plotBackgroundColor
@Option public String plotBackgroundImage
@Option public String plotBorderColor
@Option public Integer plotBorderWidth
@Option public ShadowOptions plotShadow
ShadowOptions@Option public Boolean polar
@Option protected final Boolean reflow
@Option public final ChartOptions.ResetZoomButtonOptions resetZoomButton
@Option public String selectionMarkerFill
@Option public ShadowOptions shadow
ShadowOptions@Option public Boolean showAxes
@Option public Integer spacingBottom
@Option public Integer spacingLeft
@Option public Integer spacingRight
@Option public Integer spacingTop
@Option public final StyleOptions style
fontFamily: '"Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif'
fontSize: '12px'
@Option public String typeDescription
@Option public Integer width
Copyright © 2018 Fujion Framework. All rights reserved.