highcharts / highcharts-editor

https://www.highcharts.com/products/highcharts-editor
Other
250 stars 96 forks source link

Possible enhancement: move chart templates meta outside the bundles #48

Closed cvasseng closed 8 years ago

cvasseng commented 8 years ago

It might be a good idea to not include the chart templates in the baking, and instead create a simple interface to add templates after the fact. The argument here is that it would simplify adding custom templates.

cvasseng commented 8 years ago

Made first step towards this, and added highed.installTemplate(...) to dynamically add templates.

cvasseng commented 8 years ago

The functionality around adding templates have been extended to allow fushing built-in templates. In the next release, we can consider refactoring out the templates completely so that including them is optional.