I know how to specify chart configuration on a "per-chart" basis, for example it works fine:
$ ('# someDiv'). DxChart ({title: {text: 'some headline', font: {size: '1.25em'}}, data source: [...]
but I once I want to specify some configuration settings (i.e. color palette, title font size, tool tip setting, ...) for all the charts, each time instead of specifying the chart. Is it possible?
I'm thinking of using jQuery.merge
to reuse a normal configuration object Yes, but I am not really happy about it. Of course, should dx.chartjs be a better way of achieving global configuration?
No comments:
Post a Comment