Package 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
- Version:
- $Id: e086c2fd9c8bbd4984ad286321d56d38df4d4628 $
-
-
Constructor Summary
Constructors Constructor Description ChartMacroParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHeight()
String
getParams()
String
getSource()
String
getTitle()
String
getType()
int
getWidth()
void
setHeight(int height)
void
setParams(String params)
void
setSource(String source)
void
setTitle(String title)
void
setType(String chartType)
void
setWidth(int width)
-
-
-
Method Detail
-
getTitle
public String getTitle()
- Returns:
- The title of the chart.
-
setTitle
public void setTitle(String title)
- Parameters:
title
- - refer togetTitle()
.
-
getWidth
public int getWidth()
- Returns:
- The width of the chart.
-
setWidth
public void setWidth(int width)
- Parameters:
width
- - refer togetWidth()
.
-
getHeight
public int getHeight()
- Returns:
- The height of the chart.
-
setHeight
public void setHeight(int height)
- Parameters:
height
- - refer togetHeight()
.
-
getType
public String getType()
- Returns:
- the type of the chart.
-
getSource
public String getSource()
- Returns:
- a string describing the data source
-
setSource
public void setSource(String source)
- Parameters:
source
- - refer togetSource()
-
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.
-
-