Package org.xwiki.rendering.macro.chart
Interface ChartDataSource
-
@Role public interface ChartDataSource
Interface for defining various data sources for charts.- Since:
- 2.0M1
- Version:
- $Id: 0ae7b685011f0fd6d100acb3c4743b10952c68ba $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChartModel
buildModel(String macroContent, Map<String,String> sourceParameters)
Decodes the given macroContent / extraParams and builds aChartModel
.
-
-
-
Method Detail
-
buildModel
ChartModel buildModel(String macroContent, Map<String,String> sourceParameters) throws org.xwiki.rendering.macro.MacroExecutionException
Decodes the given macroContent / extraParams and builds aChartModel
.- Parameters:
macroContent
- content of the macro.sourceParameters
- parameters provided for the source.- Returns:
- a
ChartModel
corresponding to the parameters passed in. - Throws:
org.xwiki.rendering.macro.MacroExecutionException
- if something goes wrong while decoding source / parameters.
-
-