public class HIChart extends HIFoundation
Constructor and Description |
---|
HIChart() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getAlignThresholds() |
java.lang.Boolean |
getAlignTicks() |
java.lang.Boolean |
getAllowMutatingData() |
HIAnimationOptionsObject |
getAnimation() |
java.lang.Number |
getAxisLayoutRuns() |
HIColor |
getBackgroundColor() |
HIColor |
getBorderColor() |
java.lang.Number |
getBorderRadius() |
java.lang.Number |
getBorderWidth() |
java.lang.String |
getClassName() |
java.lang.Number |
getColorCount() |
java.lang.Boolean |
getDisplayErrors() |
HIEvents |
getEvents() |
java.lang.Object |
getHeight() |
java.lang.Boolean |
getIgnoreHiddenSeries() |
java.lang.Boolean |
getInverted() |
java.util.ArrayList<java.lang.Number> |
getMargin() |
java.lang.Number |
getMarginBottom() |
java.lang.Number |
getMarginLeft() |
java.lang.Number |
getMarginRight() |
java.lang.Number |
getMarginTop() |
HIFunction |
getNumberFormatter() |
HIOptions3d |
getOptions3d() |
java.lang.String |
getPanKey() |
HIPanning |
getPanning() |
HIParallelAxes |
getParallelAxes() |
java.lang.Boolean |
getParallelCoordinates() |
java.util.HashMap<java.lang.String,java.lang.Object> |
getParams() |
HIColor |
getPlotBackgroundColor() |
java.lang.String |
getPlotBackgroundImage() |
HIColor |
getPlotBorderColor() |
java.lang.Number |
getPlotBorderWidth() |
HIShadowOptionsObject |
getPlotShadow() |
java.lang.Boolean |
getPolar() |
java.lang.Boolean |
getReflow() |
java.lang.String |
getRenderTo() |
HIScrollablePlotArea |
getScrollablePlotArea() |
HIColor |
getSelectionMarkerFill() |
HIShadowOptionsObject |
getShadow() |
java.lang.Boolean |
getShowAxes() |
java.util.ArrayList<java.lang.Number> |
getSpacing() |
java.lang.Number |
getSpacingBottom() |
java.lang.Number |
getSpacingLeft() |
java.lang.Number |
getSpacingRight() |
java.lang.Number |
getSpacingTop() |
HICSSObject |
getStyle() |
java.lang.Boolean |
getStyledMode() |
java.lang.String |
getType() |
java.lang.Object |
getWidth() |
HIZooming |
getZooming() |
void |
setAlignThresholds(java.lang.Boolean alignThresholds)
When using multiple axes, align the thresholds.
|
void |
setAlignTicks(java.lang.Boolean alignTicks)
When using multiple axes, the ticks of two or more opposite axes will automatically be aligned by adding ticks to the axis or axes with the least ticks, as if `tickAmount` were specified.
|
void |
setAllowMutatingData(java.lang.Boolean allowMutatingData)
By defaults, (because of memory and performance reasons) the chart does not copy the data but keeps it as a reference.
|
void |
setAnimation(HIAnimationOptionsObject animation)
Set the overall animation for all chart updating.
|
void |
setAxisLayoutRuns(java.lang.Number axisLayoutRuns)
When a chart with an x and a y-axis is rendered, we first pre-render the labels of both in order to measure them.
|
void |
setBackgroundColor(HIColor backgroundColor)
The background color or gradient for the outer chart area.
|
void |
setBorderColor(HIColor borderColor)
The color of the outer chart border.
|
void |
setBorderRadius(java.lang.Number borderRadius)
The corner radius of the outer chart border.
|
void |
setBorderWidth(java.lang.Number borderWidth)
The pixel width of the outer chart border.
|
void |
setClassName(java.lang.String className)
A CSS class name to apply to the charts container `div`, allowing unique CSS styling for each chart.
|
void |
setColorCount(java.lang.Number colorCount)
In styled mode, this sets how many colors the class names should rotate between.
|
void |
setDisplayErrors(java.lang.Boolean displayErrors)
Whether to display errors on the chart.
|
void |
setEvents(HIEvents events)
Event listeners for the chart.
|
void |
setHeight(java.lang.Object height)
An explicit height for the chart.
|
void |
setIgnoreHiddenSeries(java.lang.Boolean ignoreHiddenSeries)
If true, the axes will scale to the remaining visible series once one series is hidden.
|
void |
setInverted(java.lang.Boolean inverted)
Whether to invert the axes so that the x axis is vertical and y axis is horizontal.
|
void |
setMargin(java.util.ArrayList<java.lang.Number> margin)
The margin between the outer edge of the chart and the plot area.
|
void |
setMarginBottom(java.lang.Number marginBottom)
The margin between the bottom outer edge of the chart and the plot area.
|
void |
setMarginLeft(java.lang.Number marginLeft)
The margin between the left outer edge of the chart and the plot area.
|
void |
setMarginRight(java.lang.Number marginRight)
The margin between the right outer edge of the chart and the plot area.
|
void |
setMarginTop(java.lang.Number marginTop)
The margin between the top outer edge of the chart and the plot area.
|
void |
setNumberFormatter(HIFunction numberFormatter)
Callback function to override the defaults function that formats all the numbers in the chart.
|
void |
setOptions3d(HIOptions3d options3d)
Options to render charts in 3 dimensions.
|
void |
setPanKey(java.lang.String panKey)
Allows setting a key to switch between zooming and panning.
|
void |
setPanning(HIPanning panning)
Allow panning in a chart.
|
void |
setParallelAxes(HIParallelAxes parallelAxes)
Common options for all yAxes rendered in a parallel coordinates plot.
|
void |
setParallelCoordinates(java.lang.Boolean parallelCoordinates)
Flag to render charts as a parallel coordinates plot.
|
void |
setPlotBackgroundColor(HIColor plotBackgroundColor)
The background color or gradient for the plot area.
|
void |
setPlotBackgroundImage(java.lang.String plotBackgroundImage)
The URL for an image to use as the plot background.
|
void |
setPlotBorderColor(HIColor plotBorderColor)
The color of the inner chart or plot area border.
|
void |
setPlotBorderWidth(java.lang.Number plotBorderWidth)
The pixel width of the plot area border.
|
void |
setPlotShadow(HIShadowOptionsObject plotShadow)
Whether to apply a drop shadow to the plot area.
|
void |
setPolar(java.lang.Boolean polar)
When true, cartesian charts like line, spline, area and column are transformed into the polar coordinate system.
|
void |
setReflow(java.lang.Boolean reflow)
Whether to reflow the chart to fit the width of the container div on resizing the window.
|
void |
setRenderTo(java.lang.String renderTo)
The HTML element where the chart will be rendered.
|
void |
setScrollablePlotArea(HIScrollablePlotArea scrollablePlotArea)
Options for a scrollable plot area.
|
void |
setSelectionMarkerFill(HIColor selectionMarkerFill)
The background color of the marker square when selecting (zooming in on) an area of the chart.
|
void |
setShadow(HIShadowOptionsObject shadow)
Whether to apply a drop shadow to the outer chart area.
|
void |
setShowAxes(java.lang.Boolean showAxes)
Whether to show the axes initially.
|
void |
setSpacing(java.util.ArrayList<java.lang.Number> spacing)
The distance between the outer edge of the chart and the content, like title or legend, or axis title and labels if present.
|
void |
setSpacingBottom(java.lang.Number 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).
|
void |
setSpacingLeft(java.lang.Number 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).
|
void |
setSpacingRight(java.lang.Number 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).
|
void |
setSpacingTop(java.lang.Number 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).
|
void |
setStyle(HICSSObject style)
Additional CSS styles to apply inline to the container `div` and the root SVG.
|
void |
setStyledMode(java.lang.Boolean styledMode)
Whether to apply styled mode.
|
void |
setType(java.lang.String type)
The defaults series type for the chart.
|
void |
setWidth(java.lang.Object width)
An explicit width for the chart.
|
void |
setZooming(HIZooming zooming)
Chart zooming options.
|
public java.lang.Boolean getAlignThresholds()
public java.lang.Boolean getAlignTicks()
public java.lang.Boolean getAllowMutatingData()
public HIAnimationOptionsObject getAnimation()
public java.lang.Number getAxisLayoutRuns()
public HIColor getBackgroundColor()
public HIColor getBorderColor()
public java.lang.Number getBorderRadius()
public java.lang.Number getBorderWidth()
public java.lang.String getClassName()
public java.lang.Number getColorCount()
public java.lang.Boolean getDisplayErrors()
public HIEvents getEvents()
public java.lang.Object getHeight()
public java.lang.Boolean getIgnoreHiddenSeries()
public java.lang.Boolean getInverted()
public java.util.ArrayList<java.lang.Number> getMargin()
public java.lang.Number getMarginBottom()
public java.lang.Number getMarginLeft()
public java.lang.Number getMarginRight()
public java.lang.Number getMarginTop()
public HIFunction getNumberFormatter()
public HIOptions3d getOptions3d()
public java.lang.String getPanKey()
public HIPanning getPanning()
public HIParallelAxes getParallelAxes()
public java.lang.Boolean getParallelCoordinates()
public java.util.HashMap<java.lang.String,java.lang.Object> getParams()
getParams
in class HIFoundation
public HIColor getPlotBackgroundColor()
public java.lang.String getPlotBackgroundImage()
public HIColor getPlotBorderColor()
public java.lang.Number getPlotBorderWidth()
public HIShadowOptionsObject getPlotShadow()
public java.lang.Boolean getPolar()
public java.lang.Boolean getReflow()
public java.lang.String getRenderTo()
public HIScrollablePlotArea getScrollablePlotArea()
public HIColor getSelectionMarkerFill()
public HIShadowOptionsObject getShadow()
public java.lang.Boolean getShowAxes()
public java.util.ArrayList<java.lang.Number> getSpacing()
public java.lang.Number getSpacingBottom()
public java.lang.Number getSpacingLeft()
public java.lang.Number getSpacingRight()
public java.lang.Number getSpacingTop()
public HICSSObject getStyle()
public java.lang.Boolean getStyledMode()
public java.lang.String getType()
public java.lang.Object getWidth()
public HIZooming getZooming()
public void setAlignThresholds(java.lang.Boolean alignThresholds)
public void setAlignTicks(java.lang.Boolean alignTicks)
public void setAllowMutatingData(java.lang.Boolean allowMutatingData)
public void setAnimation(HIAnimationOptionsObject animation)
public void setAxisLayoutRuns(java.lang.Number axisLayoutRuns)
public void setBackgroundColor(HIColor backgroundColor)
public void setBorderColor(HIColor borderColor)
public void setBorderRadius(java.lang.Number borderRadius)
public void setBorderWidth(java.lang.Number borderWidth)
public void setClassName(java.lang.String className)
public void setColorCount(java.lang.Number colorCount)
public void setDisplayErrors(java.lang.Boolean displayErrors)
public void setEvents(HIEvents events)
public void setHeight(java.lang.Object height)
public void setIgnoreHiddenSeries(java.lang.Boolean ignoreHiddenSeries)
public void setInverted(java.lang.Boolean inverted)
public void setMargin(java.util.ArrayList<java.lang.Number> margin)
public void setMarginBottom(java.lang.Number marginBottom)
public void setMarginLeft(java.lang.Number marginLeft)
public void setMarginRight(java.lang.Number marginRight)
public void setMarginTop(java.lang.Number marginTop)
public void setNumberFormatter(HIFunction numberFormatter)
public void setOptions3d(HIOptions3d options3d)
public void setPanKey(java.lang.String panKey)
public void setPanning(HIPanning panning)
public void setParallelAxes(HIParallelAxes parallelAxes)
public void setParallelCoordinates(java.lang.Boolean parallelCoordinates)
public void setPlotBackgroundColor(HIColor plotBackgroundColor)
public void setPlotBackgroundImage(java.lang.String plotBackgroundImage)
public void setPlotBorderColor(HIColor plotBorderColor)
public void setPlotBorderWidth(java.lang.Number plotBorderWidth)
public void setPlotShadow(HIShadowOptionsObject plotShadow)
public void setPolar(java.lang.Boolean polar)
public void setReflow(java.lang.Boolean reflow)
public void setRenderTo(java.lang.String renderTo)
public void setScrollablePlotArea(HIScrollablePlotArea scrollablePlotArea)
public void setSelectionMarkerFill(HIColor selectionMarkerFill)
public void setShadow(HIShadowOptionsObject shadow)
public void setShowAxes(java.lang.Boolean showAxes)
public void setSpacing(java.util.ArrayList<java.lang.Number> spacing)
public void setSpacingBottom(java.lang.Number spacingBottom)
public void setSpacingLeft(java.lang.Number spacingLeft)
public void setSpacingRight(java.lang.Number spacingRight)
public void setSpacingTop(java.lang.Number spacingTop)
public void setStyle(HICSSObject style)
public void setStyledMode(java.lang.Boolean styledMode)
public void setType(java.lang.String type)
public void setWidth(java.lang.Object width)
public void setZooming(HIZooming zooming)