Package com.oorian.echarts.options
Class EChartsParallelSeries
java.lang.Object
com.oorian.echarts.options.EChartsSeries
com.oorian.echarts.options.EChartsParallelSeries
- All Implemented Interfaces:
com.oorian.json.Jsonable
Represents a Parallel series configuration for ECharts parallel coordinates charts.
Extends EChartsSeries to provide parallel-specific options for multi-dimensional data visualization.
Parallel coordinates charts are useful for:
- Multi-dimensional data analysis
- Comparing items across multiple attributes
- Finding patterns in high-dimensional data
- Filtering and brushing multi-variate data
- Author:
- Oorian
-
Field Summary
Fields inherited from class com.oorian.echarts.options.EChartsSeries
data, name, type -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new EChartsParallelSeries with type set to "parallel". -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDataPoint(Number... values) Adds a data point (array of values for each dimension).protected voidaddSpecificToJson(com.oorian.json.JsonObject obj) Adds series-specific properties to a JSON object.protected voidinitSpecificFromJson(com.oorian.json.JsonObject obj) Initializes series-specific properties from a JSON object.voidsetEmphasis(EChartsEmphasis emphasis) Sets the emphasis configuration.voidsetLineColor(String lineColor) Sets the line color for series lines.voidsetLineStyle(EChartsLineStyle lineStyle) Sets the line style configuration.voidsetLineWidth(Number lineWidth) Sets the line width for series lines.voidsetOpacity(Number opacity) Sets the opacity for series lines.voidsetParallelIndex(Number parallelIndex) Sets the index of the parallel coordinate system to use.voidsetProgressive(Boolean progressive) Sets whether to use progressive rendering.voidsetProgressiveThreshold(Number progressiveThreshold) Sets the threshold for progressive rendering.voidSets whether lines should be smooth.Methods inherited from class com.oorian.echarts.options.EChartsSeries
addData, getData, getName, getType, initFromJson, parseDataArray, setData, setName, setType, toJsonString, toJsonValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.oorian.json.Jsonable
initFromJson, initFromJson
-
Constructor Details
-
EChartsParallelSeries
public EChartsParallelSeries()Constructs a new EChartsParallelSeries with type set to "parallel".
-
-
Method Details
-
addDataPoint
Adds a data point (array of values for each dimension).- Parameters:
values- the values for each parallel axis
-
setParallelIndex
Sets the index of the parallel coordinate system to use.- Parameters:
parallelIndex- the parallel coordinate system index
-
setLineWidth
Sets the line width for series lines.- Parameters:
lineWidth- the line width in pixels
-
setLineColor
Sets the line color for series lines.- Parameters:
lineColor- the line color
-
setOpacity
Sets the opacity for series lines.- Parameters:
opacity- the opacity (0-1)
-
setSmooth
Sets whether lines should be smooth.- Parameters:
smooth- true for smooth lines
-
setProgressive
Sets whether to use progressive rendering.- Parameters:
progressive- true for progressive rendering
-
setProgressiveThreshold
Sets the threshold for progressive rendering.- Parameters:
progressiveThreshold- the threshold value
-
setLineStyle
Sets the line style configuration.- Parameters:
lineStyle- the line style
-
setEmphasis
Sets the emphasis configuration.- Parameters:
emphasis- the emphasis configuration
-
getParallelIndex
-
getLineWidth
-
getLineColor
-
getOpacity
-
getSmooth
-
getProgressive
-
getProgressiveThreshold
-
getLineStyle
-
getEmphasis
-
initSpecificFromJson
protected void initSpecificFromJson(com.oorian.json.JsonObject obj) Description copied from class:EChartsSeriesInitializes series-specific properties from a JSON object.Subclasses must implement this method to handle their specific properties.
- Specified by:
initSpecificFromJsonin classEChartsSeries- Parameters:
obj- the JSON object containing series properties
-
addSpecificToJson
protected void addSpecificToJson(com.oorian.json.JsonObject obj) Description copied from class:EChartsSeriesAdds series-specific properties to a JSON object.Subclasses must implement this method to serialize their specific properties.
- Specified by:
addSpecificToJsonin classEChartsSeries- Parameters:
obj- the JSON object to add properties to
-