To maximize useful space Stock Chart keeps value axis labels inside plot area by default. If you'd like to move them outside plot area, you'd set inside: false
in valueAxesSettings
.
In that case, you would also need to set marginLeft
or marginRight
in your panelsSettings
to accommodate those value labels.
This demo shows how to use init
event handler to cycle through panels, collect widest possible value axis and apply panel margins automatically.