> the array list stores the series elements that refer axis-id1
- Author:
- Ravi Hasija
Constructor Summary |
AxisSeriesLinkInfo()
The constructor initializes requisiste data structures |
AxisSeriesLinkInfo
public AxisSeriesLinkInfo()
- The constructor initializes requisiste data structures
setAxisElement
public void setAxisElement(Object axisID,
ChartElement axisElement)
- Stores the value: axis element in the hash map where the key is axis id.
- Parameters:
axisID
- - Axis ID for the current axis elementaxisElement
- - Current axis element
getAxisElement
public ChartElement getAxisElement(Object axisID)
- Returns chart axis element with the given axis id.
- Parameters:
axisID
- - AxisID for the element you want to retrieve.
- Returns:
- ChartElement - Chart axis element with the given axis id.
setSeriesElements
public void setSeriesElements(Object axisID,
ChartElement seriesElement)
- Updates the series elements array list with the given element.
- Parameters:
axisID
- - Axis ID for the current axis elementseriesElement
- - Series element that belongs to the given axis id
getSeriesElements
public ArrayList<ChartElement> getSeriesElements(Object axisID)
- Returns the array list consisting of the series elements that belong to the given axis id.
- Parameters:
axisID
- - The axis id to get the series elements for.
- Returns:
- ArrayList - Returns the array list consisting of the series elements that
belong to the given axis id.
getRangeAxisElements
public ArrayList<ChartElement> getRangeAxisElements()
- Returns an array list of range axis elements.
If there are no range axis elements then returns an empty list.
- Returns:
- ArrayList - ArrayList consisting of range axis elements.
getDomainAxisElements
public ArrayList<ChartElement> getDomainAxisElements()
- Returns an array list of domain axis elements.
If there are no domain axis elements then returns an empty list
- Returns:
- ArrayList - ArrayList consisting of domain axis elements.