public class nUIAreaChart extends nUILineChart
DEFAULT_POINT_MARKER_SIZE, NUM_POINT_MARKERS, POINT_MARKER_BLOCK, POINT_MARKER_CIRCLE, POINT_MARKER_CROSS, POINT_MARKER_DIAMOND, POINT_MARKER_DOT, POINT_MARKER_LINE, POINT_MARKER_NONE, POINT_MARKER_PLUS, POINT_MARKER_SQUARE, POINT_MARKER_TRIANGLE, STACK_ABSOLUTE, STACK_ACCUMULATE
DEFAULT_BORDER_THICKNESS, NUM_RENDER_STYLES, ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL, RENDER_STYLE_FLAT, RENDER_STYLE_GRADIENT
Y_IDENTIFIER_PREV_BOTTOM
COLOR_BACKGROUND_NORMAL, COLOR_BLACK, COLOR_FOREGROUND_DARK, COLOR_FOREGROUND_LIGHT, COLOR_FOREGROUND_NORMAL, COLOR_TRANSPARENT, COLOR_WHITE, DIMENSIONS_IDENTIFIER_PARENT_DIMENSIONS
event_listener, event_listener_exclusive, first_child, last_child, next_sibling, nuiid, parent, prev_sibling, unlink_children_on_removal_from_parent
Constructor and Description |
---|
nUIAreaChart(int nuiid,
float[] data)
Chart constructor for a single value set area chart.
|
nUIAreaChart(int nuiid,
float[][] data)
Chart constructor for a stacked area chart.
|
nUIAreaChart(int nuiid,
float[] data,
int stride)
Chart constructor for a stacked area chart.
|
Modifier and Type | Method and Description |
---|---|
void |
setDefaults()
Sets defaults for this chart type.
|
void |
setTopLineRendering(boolean render_line)
Enable or disable the rendering of a line at the top of a data set.
|
getDataLineThickness, getDefaultNumColors, renderImage, setDataLineThickness
getAxes, getAxisColor, getAxisLabelCentering, getAxisLineThickness, getDataPointMarkerSize, getDataPointMarkerSizes, getDataPointMarkerType, getDataPointMarkerTypes, getHorizontalAxis, getMajorGridlineColor, getMajorGridlineThickness, getMinorGridlineColor, getMinorGridlineThickness, getOrientation, getPointMarkerSize, getPointMarkerType, getVerticalAxis, isStacked, renderDataLabels, setAxes, setAxisColor, setAxisLabelCentering, setAxisLineThickness, setDataPointMarkerSizes, setDataPointMarkerTypes, setMajorGridlineColor, setMajorGridlineThickness, setMinorGridlineColor, setMinorGridlineThickness, setOrientation, setPointMarkerSize, setPointMarkerType, setStackType
clearChartBodyPadding, getAxisLabelTextColor, getBackgroundColor, getBestGuessScale, getBorderColor, getBorderThickness, getData, getDataColor, getDataColors, getHeight, getImage, getNumColors, getOutlineColor, getOutlineThickness, getTickLabelTextColor, getWidth, setAxisLabelTextColor, setBackgroundColor, setBestGuessScale, setBorderColor, setBorderThickness, setChartBodyPadding, setChartBodyPadding, setData, setData, setData, setDataColors, setHeight, setImage, setOutlineColor, setOutlineThickness, setRenderStyle, setSize, setTickLabelTextColor, setWidth, suggestLineThickness
getAlign, getInnerWidth, getInnerX, setAlign
getY, insertAt
getBackgroundDrawable, getBgcolor, getBottom, getFocus, getFocusable, getGesturable, getInnerHeight, getInnerY, getLeft, getMaxChildX, getMaxChildY, getRight, getScreenInnerX, getScreenInnerY, getScreenX, getScreenY, getTop, getTopLevelParentView, getTopLevelParentWindow, getTriggerable, getX, insertAtInternal, isEnabled, onRemoved, remove, setBackgroundDrawable, setBgcolor, setBottom, setChildFocus, setEnabled, setFocus, setFocusable, setGesturable, setInnerHeight, setInnerWidth, setInnerX, setInnerY, setLeft, setRight, setTop, setTriggerable, setX, setY
add, addEventListener, childElementAt, childIndexOf, getTag, insertAfter, insertBefore, outputChildHierarchy, remove, removeEventListener, replace, replace, setTag
public nUIAreaChart(int nuiid, float[] data) throws java.lang.IllegalArgumentException
nuiid
- Unique Native UI ID (or -1 if unidentified)data
- The data used to render this chartjava.lang.IllegalArgumentException
public nUIAreaChart(int nuiid, float[] data, int stride) throws java.lang.IllegalArgumentException
stride
numbers for each line.nuiid
- Unique Native UI ID (or -1 if unidentified)data
- The data used to render this chartstride
- The number of data points for each line
elementjava.lang.IllegalArgumentException
public nUIAreaChart(int nuiid, float[][] data) throws java.lang.IllegalArgumentException
{{1,2,3,4},{5,6,7,8}}
will produce a chart with two lines, the first having values 1,2,3,4, and the second 5,6,7,8.nuiid
- Unique NativeUI ID (or -1 if unidentified)data
- the data used to render this chart.java.lang.IllegalArgumentException
public void setTopLineRendering(boolean render_line)
render_line
- set to true to enable line rendering.public void setDefaults()
setDefaults
in class nUILineChart