Bugfix
Fixed scope issue which prevented pieChart from being called more than once
hx.theme().plot
- This is a breaking change redrawOnResize
value graph.addAxis(options)
instead. hx.Axis(options)
instead. Axis.x.visible()
instead. Axis.x.visible()
to get, Axis.x.visible(value)
to set. Axis.x.formatter()
instead. Axis.x.formatter()
to get, Axis.x.formatter(value)
to set. Axis.x.min()
instead. Axis.x.min()
to get, Axis.x.min(value)
to set. Axis.x.max()
instead. Axis.x.max()
to get, Axis.x.max(value)
to set. Axis.x.discretePadding()
instead. Axis.x.discretePadding()
to get, Axis.x.discretePadding(value)
to set. Axis.x.discreteLabels()
instead. Axis.x.discreteLabels()
to get, Axis.x.discreteLabels(value)
to set. Axis.x.tickSpacing()
instead. Axis.x.tickSpacing()
to get, Axis.x.tickSpacing(value)
to set. Axis.x.title()
instead. Axis.x.title()
to get, Axis.x.title(value)
to set. Axis.x.scalePaddingMin()
instead. Axis.x.scalePaddingMin()
to get, Axis.x.scalePaddingMin(value)
to set. Axis.x.scalePaddingMax()
instead. Axis.x.scalePaddingMax()
to get, Axis.x.scalePaddingMax(value)
to set. Axis.x.gridLines()
instead. Axis.x.gridLines()
to get, Axis.x.gridLines(value)
to set. Axis.x.nthTickVisible()
instead. Axis.x.nthTickVisible()
to get, Axis.x.nthTickVisible(value)
to set. Axis.y.visible()
instead. Axis.y.visible()
to get, Axis.y.visible(value)
to set. Axis.y.formatter()
instead. Axis.y.formatter()
to get, Axis.y.formatter(value)
to set. Axis.y.min()
instead. Axis.y.min()
to get, Axis.y.min(value)
to set. Axis.y.max()
instead. Axis.y.max()
to get, Axis.y.max(value)
to set. Axis.y.discretePadding()
instead. Axis.y.discretePadding()
to get, Axis.y.discretePadding(value)
to set. Axis.y.discreteLabels()
instead. Axis.y.discreteLabels()
to get, Axis.y.discreteLabels(value)
to set. Axis.y.tickSpacing()
instead. Axis.y.tickSpacing()
to get, Axis.y.tickSpacing(value)
to set. Axis.y.title()
instead. Axis.y.title()
to get, Axis.y.title(value)
to set. Axis.y.scalePaddingMin()
instead. Axis.y.scalePaddingMin()
to get, Axis.y.scalePaddingMin(value)
to set. Axis.y.scalePaddingMax()
instead. Axis.y.scalePaddingMax()
to get, Axis.y.scalePaddingMax(value)
to set. Axis.y.gridLines()
instead. Axis.y.gridLines()
to get, Axis.y.gridLines(value)
to set. Axis.y.nthTickVisible()
instead. Axis.y.nthTickVisible()
to get, Axis.y.nthTickVisible(value)
to set. addSeries(type, {title: "name"})
instead. Axis.x.axisTickLabelPosition()
instead. Axis.x.axisTickLabelPosition()
to get, Axis.x.axisTickLabelPosition(value)
to set. Axis.y.axisTickLabelPosition()
instead. Axis.y.axisTickLabelPosition()
to get, Axis.y.axisTickLabelPosition(value)
to set. Axis.x.showTicks()
instead. Axis.x.showTicks()
to get, Axis.x.showTicks(value)
to set. Axis.y.showTicks()
instead. Axis.y.showTicks()
to get, Axis.y.showTicks(value)
to set. series.title(name)
to set the series name, series.title()
to get the name. series.fillColor(color)
to set the color, series.fillColor()
to get the color. series.group(group)
to set the series group, series.group()
to get the group. series.data(data)
to set new data, series.data()
to get the current data. series.class(class)
to set the series class, series.class()
to get the class. series.title(name)
to set the series name, series.title()
to get the name. series.strokeEnabled(enabled)
to set the state, series.strokeEnabled()
to get it. series.strokeColor(color)
to set the color, series.strokeColor()
to get the color. series.fillEnabled(enabled)
to set the state, series.fillEnabled()
to get it. series.fillColor(color)
to set the color, series.fillColor()
to get the color. sampleThreshold()
to get the feather value, sampleThreshold(value)
to set it. series.markersEnabled(enabled)
to set the state, series.markersEnabled()
to get it. _new_markerRadius(radius)
to set the radius, _new_markerRadius()
to get the radius. seriesmarkerFillColor(color)
to set the color, seriesmarkerFillColor()
to get the color. series.group(name)
to set the series group, series.group()
to get the group. series.data(data)
to set new data, series.data()
to get the current data. series.strokeColor(color)
to set the color, series.strokeColor()
to get the color. series.class(class)
to set the series class, series.class()
to get the class. series.title(name)
to set the series name, series.title()
to get the name. series.fillColor(color)
to set the color, series.fillColor()
to get the color. series.sampleThreshold()
to get the feather value, series.sampleThreshold(value)
to set it. series.data(data)
to set new data, series.data()
to get the current data. series.fillColor(color)
to set the color, series.fillColor()
to get the color. series.class(class)
to set the class, series.class()
to get the class. series.title(name)
to set the series name, series.title()
to get the name. series.fillColor(color)
to set the color, series.fillColor()
to get the color. series.radius(size)
to set the size, series.radius()
to get the size. series.data(data)
to set new data, series.data()
to get the current data. series.class(class)
to set the series class, series.class()
to get the class. series.strokeColor(color)
to set the color, series.strokeColor()
to get the color. series.data(data)
to set new data, series.data()
to get the current data. series.class(class)
to set the series class, series.class()
to get the class. series.title(name)
to set the series name, series.title()
to get the name. graph.addAxis(options)
instead. hx.Axis(options)
instead. Axis.x.visible()
instead. Axis.x.visible()
to get, Axis.x.visible(value)
to set. Axis.x.formatter()
instead. Axis.x.formatter()
to get, Axis.x.formatter(value)
to set. Axis.x.min()
instead. Axis.x.min()
to get, Axis.x.min(value)
to set. Axis.x.max()
instead. Axis.x.max()
to get, Axis.x.max(value)
to set. Axis.x.discretePadding()
instead. Axis.x.discretePadding()
to get, Axis.x.discretePadding(value)
to set. Axis.x.discreteLabels()
instead. Axis.x.discreteLabels()
to get, Axis.x.discreteLabels(value)
to set. Axis.x.tickSpacing()
instead. Axis.x.tickSpacing()
to get, Axis.x.tickSpacing(value)
to set. Axis.x.title()
instead. Axis.x.title()
to get, Axis.x.title(value)
to set. Axis.x.scalePaddingMin()
instead. Axis.x.scalePaddingMin()
to get, Axis.x.scalePaddingMin(value)
to set. Axis.x.scalePaddingMax()
instead. Axis.x.scalePaddingMax()
to get, Axis.x.scalePaddingMax(value)
to set. Axis.x.gridLines()
instead. Axis.x.gridLines()
to get, Axis.x.gridLines(value)
to set. Axis.x.nthTickVisible()
instead. Axis.x.nthTickVisible()
to get, Axis.x.nthTickVisible(value)
to set. Axis.y.visible()
instead. Axis.y.visible()
to get, Axis.y.visible(value)
to set. Axis.y.formatter()
instead. Axis.y.formatter()
to get, Axis.y.formatter(value)
to set. Axis.y.min()
instead. Axis.y.min()
to get, Axis.y.min(value)
to set. Axis.y.max()
instead. Axis.y.max()
to get, Axis.y.max(value)
to set. Axis.y.discretePadding()
instead. Axis.y.discretePadding()
to get, Axis.y.discretePadding(value)
to set. Axis.y.discreteLabels()
instead. Axis.y.discreteLabels()
to get, Axis.y.discreteLabels(value)
to set. Axis.y.tickSpacing()
instead. Axis.y.tickSpacing()
to get, Axis.y.tickSpacing(value)
to set. Axis.y.title()
instead. Axis.y.title()
to get, Axis.y.title(value)
to set. Axis.y.scalePaddingMin()
instead. Axis.y.scalePaddingMin()
to get, Axis.y.scalePaddingMin(value)
to set. Axis.y.scalePaddingMax()
instead. Axis.y.scalePaddingMax()
to get, Axis.y.scalePaddingMax(value)
to set. Axis.y.gridLines()
instead. Axis.y.gridLines()
to get, Axis.y.gridLines(value)
to set. Axis.y.nthTickVisible()
instead. Axis.y.nthTickVisible()
to get, Axis.y.nthTickVisible(value)
to set. addSeries(type, {title: "name"})
instead. Axis.x.axisTickLabelPosition()
instead. Axis.x.axisTickLabelPosition()
to get, Axis.x.axisTickLabelPosition(value)
to set. Axis.y.axisTickLabelPosition()
instead. Axis.y.axisTickLabelPosition()
to get, Axis.y.axisTickLabelPosition(value)
to set. Axis.x.showTicks()
instead. Axis.x.showTicks()
to get, Axis.x.showTicks(value)
to set. Axis.y.showTicks()
instead. Axis.y.showTicks()
to get, Axis.y.showTicks(value)
to set. series.title(name)
to set the series name, series.title()
to get the name. series.fillColor(color)
to set the color, series.fillColor()
to get the color. series._new_group('group-name')
to set the group, series.new_group()
to get the group. The _new_ prefix will be dropped in 1.0.0 - it is required to avoid naming clash with existing properties until then. series.data(data)
to set new data, series.data()
to get the current data. series._new_class(class)
to set the title. This method will be renamed to series.class()
in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class()
. series.title(name)
to set the series name, series.title()
to get the name. series.strokeEnabled(enabled)
to set the state, series.strokeEnabled()
to get it. series.strokeColor(color)
to set the color, series.strokeColor()
to get the color. series.fillEnabled(enabled)
to set the state, series.fillEnabled()
to get it. series._new_fillColor(color)
to set the color, series._new_fillColor()
to get the color. sampleThreshold()
to get the feather value, sampleThreshold(value)
to set it. series.markersEnabled(enabled)
to set the state, series.markersEnabled()
to get it. _new_markerRadius(radius)
to set the radius, _new_markerRadius()
to get the radius. seriesmarkerFillColor(color)
to set the color, seriesmarkerFillColor()
to get the color. series._new_group('group-name')
to set the group, series.new_group()
to get the group. The _new_ prefix will be dropped in 1.0.0 - it is required to avoid naming clash with existing properties until then. series.data(data)
to set new data, series.data()
to get the current data. series.strokeColor(color)
to set the color, series.strokeColor()
to get the color. series._new_class(class)
to set the title. This method will be renamed to series.class()
in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class()
. series.title(name)
to set the series name, series.title()
to get the name. series.fillColor(color)
to set the color, series.fillColor()
to get the color. sampleThreshold()
to get the feather value, sampleThreshold(value)
to set it. series.data(data)
to set new data, series.data()
to get the current data. series.fillColor(color)
to set the color, series.fillColor()
to get the color. series._new_class(class)
to set the title. This method will be renamed to series.class()
in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class()
. series.title(name)
to set the series name, series.title()
to get the name. series.fillColor(color)
to set the color, series.fillColor()
to get the color. series.radius(size)
to set the size, series.radius()
to get the size. series.data(data)
to set new data, series.data()
to get the current data. series._new_class(class)
to set the title. This method will be renamed to series.class()
in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class()
. series.strokeColor(color)
to set the color, series.strokeColor()
to get the color. series.data(data)
to set new data, series.data()
to get the current data. series._new_class(class)
to set the title. This method will be renamed to series.class()
in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class()
. series.title(name)
to set the series name, series.title()
to get the name. new hx.Graph(selector)
will still work graph.addAxis(options)
instead. hx.Axis(options)
instead. Axis.x.visible()
instead. Axis.x.visible()
to get, Axis.x.visible(value)
to set. Axis.x.formatter()
instead. Axis.x.formatter()
to get, Axis.x.formatter(value)
to set. Axis.x.min()
instead. Axis.x.min()
to get, Axis.x.min(value)
to set. Axis.x.max()
instead. Axis.x.max()
to get, Axis.x.max(value)
to set. Axis.x.discretePadding()
instead. Axis.x.discretePadding()
to get, Axis.x.discretePadding(value)
to set. Axis.x.discreteLabels()
instead. Axis.x.discreteLabels()
to get, Axis.x.discreteLabels(value)
to set. Axis.x.tickSpacing()
instead. Axis.x.tickSpacing()
to get, Axis.x.tickSpacing(value)
to set. Axis.x.title()
instead. Axis.x.title()
to get, Axis.x.title(value)
to set. Axis.x.scalePaddingMin()
instead. Axis.x.scalePaddingMin()
to get, Axis.x.scalePaddingMin(value)
to set. Axis.x.scalePaddingMax()
instead. Axis.x.scalePaddingMax()
to get, Axis.x.scalePaddingMax(value)
to set. Axis.x.gridLines()
instead. Axis.x.gridLines()
to get, Axis.x.gridLines(value)
to set. Axis.x.nthTickVisible()
instead. Axis.x.nthTickVisible()
to get, Axis.x.nthTickVisible(value)
to set. Axis.y.visible()
instead. Axis.y.visible()
to get, Axis.y.visible(value)
to set. Axis.y.formatter()
instead. Axis.y.formatter()
to get, Axis.y.formatter(value)
to set. Axis.y.min()
instead. Axis.y.min()
to get, Axis.y.min(value)
to set. Axis.y.max()
instead. Axis.y.max()
to get, Axis.y.max(value)
to set. Axis.y.discretePadding()
instead. Axis.y.discretePadding()
to get, Axis.y.discretePadding(value)
to set. Axis.y.discreteLabels()
instead. Axis.y.discreteLabels()
to get, Axis.y.discreteLabels(value)
to set. Axis.y.tickSpacing()
instead. Axis.y.tickSpacing()
to get, Axis.y.tickSpacing(value)
to set. Axis.y.title()
instead. Axis.y.title()
to get, Axis.y.title(value)
to set. Axis.y.scalePaddingMin()
instead. Axis.y.scalePaddingMin()
to get, Axis.y.scalePaddingMin(value)
to set. Axis.y.scalePaddingMax()
instead. Axis.y.scalePaddingMax()
to get, Axis.y.scalePaddingMax(value)
to set. Axis.y.gridLines()
instead. Axis.y.gridLines()
to get, Axis.y.gridLines(value)
to set. Axis.y.nthTickVisible()
instead. Axis.y.nthTickVisible()
to get, Axis.y.nthTickVisible(value)
to set. addSeries(type, {title: "name"})
instead. Axis.x.axisTickLabelPosition()
instead. Axis.x.axisTickLabelPosition()
to get, Axis.x.axisTickLabelPosition(value)
to set. Axis.y.axisTickLabelPosition()
instead. Axis.y.axisTickLabelPosition()
to get, Axis.y.axisTickLabelPosition(value)
to set. Axis.x.showTicks()
instead. Axis.x.showTicks()
to get, Axis.x.showTicks(value)
to set. Axis.y.showTicks()
instead. Axis.y.showTicks()
to get, Axis.y.showTicks(value)
to set. series.title(name)
to set the series name, series.title()
to get the name. series.fillColor(color)
to set the color, series.fillColor()
to get the color. series._new_group('group-name')
to set the group, series.new_group()
to get the group. The _new_ prefix will be dropped in 1.0.0 - it is required to avoid naming clash with existing properties until then. series.data(data)
to set new data, series.data()
to get the current data. series._new_class(class)
to set the title. This method will be renamed to series.class()
in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class()
. series.title(name)
to set the series name, series.title()
to get the name. series.strokeEnabled(enabled)
to set the state, series.strokeEnabled()
to get it. series.strokeColor(color)
to set the color, series.strokeColor()
to get the color. series.fillEnabled(enabled)
to set the state, series.fillEnabled()
to get it. series._new_fillColor(color)
to set the color, series._new_fillColor()
to get the color. sampleThreshold()
to get the feather value, sampleThreshold(value)
to set it. series.markersEnabled(enabled)
to set the state, series.markersEnabled()
to get it. _new_markerRadius(radius)
to set the radius, _new_markerRadius()
to get the radius. seriesmarkerFillColor(color)
to set the color, seriesmarkerFillColor()
to get the color. series._new_group('group-name')
to set the group, series.new_group()
to get the group. The _new_ prefix will be dropped in 1.0.0 - it is required to avoid naming clash with existing properties until then. series.data(data)
to set new data, series.data()
to get the current data. series.strokeColor(color)
to set the color, series.strokeColor()
to get the color. series._new_class(class)
to set the title. This method will be renamed to series.class()
in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class()
. series.title(name)
to set the series name, series.title()
to get the name. series.fillColor(color)
to set the color, series.fillColor()
to get the color. sampleThreshold()
to get the feather value, sampleThreshold(value)
to set it. series.data(data)
to set new data, series.data()
to get the current data. series.fillColor(color)
to set the color, series.fillColor()
to get the color. series._new_class(class)
to set the title. This method will be renamed to series.class()
in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class()
. series.title(name)
to set the series name, series.title()
to get the name. series.fillColor(color)
to set the color, series.fillColor()
to get the color. series.radius(size)
to set the size, series.radius()
to get the size. series.data(data)
to set new data, series.data()
to get the current data. series._new_class(class)
to set the title. This method will be renamed to series.class()
in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class()
. series.strokeColor(color)
to set the color, series.strokeColor()
to get the color. series.data(data)
to set new data, series.data()
to get the current data. series._new_class(class)
to set the title. This method will be renamed to series.class()
in 1.0.0. The _new_ prefix is required to avoid naming clash with existing properties. To get the class use series._new_class()
. series.title(name)
to set the series name, series.title()
to get the name. new hx.PieChart(selector)
will still work series.series.color = [
{
yValue: 0,
color: hx.theme.plot.negativeCol
},
{
yValue: 90,
color: '#555'
},
{
yValue: 110,
color: '#555'
},
{
yValue: 200,
color: hx.theme.plot.negativeCol
}
]
series.series.color = [
{
yValue: 0,
color: hx.theme.plot.negativeCol
},
{
yValue: 90,
color: '#555'
},
{
yValue: 110,
color: '#555'
},
{
yValue: 200,
color: hx.theme.plot.negativeCol
}
]