adessoSE / wicked-charts

Beautiful and interactive javascript charts for Java-based web applications.
Apache License 2.0
90 stars 48 forks source link

How to use wicked-charts with Spring MVC #74

Closed winterspan closed 7 years ago

winterspan commented 7 years ago

I'm trying to determine what objects to use to return the appropriate JSON from a Spring MVC controller to create a Highchart...

thombergs commented 7 years ago

The JsonRenderer class maps a java Options object into a JSON structure that can be passed into a Highcharts javascript snippet. For Wicket and JSF, wicked-charts provides that javascript snippet (and some additional features like AJAX and the like). For Spring MVC, you would have to create that javascript snippet yourself.