Class EChartsParallelSeries

java.lang.Object
com.oorian.echarts.options.EChartsSeries
com.oorian.echarts.options.EChartsParallelSeries
All Implemented Interfaces:
com.oorian.json.Jsonable

public class EChartsParallelSeries extends EChartsSeries
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
  • Constructor Details

    • EChartsParallelSeries

      public EChartsParallelSeries()
      Constructs a new EChartsParallelSeries with type set to "parallel".
  • Method Details

    • addDataPoint

      public void addDataPoint(Number... values)
      Adds a data point (array of values for each dimension).
      Parameters:
      values - the values for each parallel axis
    • setParallelIndex

      public void setParallelIndex(Number parallelIndex)
      Sets the index of the parallel coordinate system to use.
      Parameters:
      parallelIndex - the parallel coordinate system index
    • setLineWidth

      public void setLineWidth(Number lineWidth)
      Sets the line width for series lines.
      Parameters:
      lineWidth - the line width in pixels
    • setLineColor

      public void setLineColor(String lineColor)
      Sets the line color for series lines.
      Parameters:
      lineColor - the line color
    • setOpacity

      public void setOpacity(Number opacity)
      Sets the opacity for series lines.
      Parameters:
      opacity - the opacity (0-1)
    • setSmooth

      public void setSmooth(Boolean smooth)
      Sets whether lines should be smooth.
      Parameters:
      smooth - true for smooth lines
    • setProgressive

      public void setProgressive(Boolean progressive)
      Sets whether to use progressive rendering.
      Parameters:
      progressive - true for progressive rendering
    • setProgressiveThreshold

      public void setProgressiveThreshold(Number progressiveThreshold)
      Sets the threshold for progressive rendering.
      Parameters:
      progressiveThreshold - the threshold value
    • setLineStyle

      public void setLineStyle(EChartsLineStyle lineStyle)
      Sets the line style configuration.
      Parameters:
      lineStyle - the line style
    • setEmphasis

      public void setEmphasis(EChartsEmphasis emphasis)
      Sets the emphasis configuration.
      Parameters:
      emphasis - the emphasis configuration
    • getParallelIndex

      public Number getParallelIndex()
    • getLineWidth

      public Number getLineWidth()
    • getLineColor

      public String getLineColor()
    • getOpacity

      public Number getOpacity()
    • getSmooth

      public Boolean getSmooth()
    • getProgressive

      public Boolean getProgressive()
    • getProgressiveThreshold

      public Number getProgressiveThreshold()
    • getLineStyle

      public EChartsLineStyle getLineStyle()
    • getEmphasis

      public EChartsEmphasis getEmphasis()
    • initSpecificFromJson

      protected void initSpecificFromJson(com.oorian.json.JsonObject obj)
      Description copied from class: EChartsSeries
      Initializes series-specific properties from a JSON object.

      Subclasses must implement this method to handle their specific properties.

      Specified by:
      initSpecificFromJson in class EChartsSeries
      Parameters:
      obj - the JSON object containing series properties
    • addSpecificToJson

      protected void addSpecificToJson(com.oorian.json.JsonObject obj)
      Description copied from class: EChartsSeries
      Adds series-specific properties to a JSON object.

      Subclasses must implement this method to serialize their specific properties.

      Specified by:
      addSpecificToJson in class EChartsSeries
      Parameters:
      obj - the JSON object to add properties to