Details
-
Story
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
-
Empty show more show less
-
Add-Ons 8
-
3
Description
We need the structure/or json template for rendering AmCharts . Needed output is Json string to set to info.magnolia.analytics.api.vaadin.ChartState#chart
May consider the converter to convert generic JsonNode from dataprovider to chart configuration
If you want to work with Json bean, you may copy some classes from https://git.magnolia-cms.com/projects/SERVICES/repos/ui-chart/browse/magnolia-ui-chart-amcharts/src/main/java/info/magnolia/ui/chart/amcharts/configuration
Chart document: https://www.amcharts.com/docs/v4/getting-started/using-javascript/
Output: I decide to use json template and introduce AmChartDefinition for special configuration as serries type and json generate class configuration so that we can introduce a new generation if we don't like to use the json template default one
From now JsonTemplateGeneration still create fake data, fake columns, ANALYTICS-35 will design chart data api and fullfil columns, data info later
Checklists
Attachments
Issue Links
- depends upon
-
ANALYTICS-3 Integrate amCharts library
-
- Closed
-
- is depended upon by
-
ANALYTICS-35 INVESTIGATION. Introduce generic chart data API
-
- Closed
-