Doing Ajax with GraphosΒΆ
Graphos plays well with ajax interactions. There are two ways you can replace a graph object.
- Render
chart.as_html
in the views. Return and replace theDOM
. - Calculate the
chart.get_data
, return the JSON. Redraw the chart using$.plot
or equivalent.