-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
I'm trying to set scaleStepWidth dynamically on a line graph (based on a maximum value in my dataset), and am having difficulty getting the chart to recognize that I've done so.
If I hard code a value for scaleStepWidth in the options object (plus scaleStepOverride=true and scaleSteps=20), the chart scales exactly as expected. If I try to set the chart options after I've received the dataset in the controller, then the chart appears to display using the default settings.
Is this happening because the view needs to be recompiled to reflect the changes to the options?