org.xwiki.rendering.macro.chart
Class ChartMacroParameters
java.lang.Object
org.xwiki.rendering.macro.chart.ChartMacroParameters
public class ChartMacroParameters
- extends Object
Parameters for chart macro.
- Since:
- 2.0M1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChartMacroParameters
public ChartMacroParameters()
getTitle
public String getTitle()
- Returns:
- The title of the chart.
setTitle
public void setTitle(String title)
- Parameters:
title
- - refer to getTitle()
.
getWidth
public int getWidth()
- Returns:
- The width of the chart.
setWidth
public void setWidth(int width)
- Parameters:
width
- - refer to getWidth()
.
getHeight
public int getHeight()
- Returns:
- The height of the chart.
setHeight
public void setHeight(int height)
- Parameters:
height
- - refer to getHeight()
.
getType
public String getType()
- Returns:
- the type of the chart.
setType
public void setType(String chartType)
- Parameters:
chartType
- - refer to getType()
.
getSource
public String getSource()
- Returns:
- a string describing the data source
setSource
public void setSource(String source)
- Parameters:
source
- - refer to {@link #getSource()
getParams
public String getParams()
- Returns:
- Additional parameters for the data source.
setParams
public void setParams(String params)
- Parameters:
params
- Additional parameters for the data source.