<chart-legend legend-position="right" show-legend="false"/>
@jettro Thanks for implementing that callback feature a while ago - big help! However, I'm now having issues with the columns... I want the user of my app to be able to create a graph such as cost of oil for one city over time. Then they might want to look at the cost of oil over all cities in a country. This requires going from one column to many columns. And then they might want to return to the one city view with just one column again. When I do this, the column names don't change in the legend, and it looks like columns are never removed when going from multiple columns down to one (it still shows multiple columns even though it should be showing just one).
I am using the
flush() feature as well as clearing out the columns array and datapoints array but it doesn't seem to have any effect. This did work in version 0.4. I also tried using
destroy(), but then I couldn't get the graph to initialize again...
I just ran into this last night and plan on taking a look at it now, but figured I'd run it past you first in case I'm missing something obvious. Thanks again for the updates!!
unloadthe targets (if i got that right). However, calling unload in the graph creation process didn't work as expected, so am gonna try passing the
unload: trueoption when calling the
loadfunction. Will let you know.