org.xwiki.rendering.macro.chart
Class ChartMacroParameters

java.lang.Object
  extended by org.xwiki.rendering.macro.chart.ChartMacroParameters

public class ChartMacroParameters
extends Object

Parameters for chart macro.

Since:
2.0M1

Constructor Summary
ChartMacroParameters()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartMacroParameters

public ChartMacroParameters()
Method Detail

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.