IDEFAULT_DESIGN_TEMPLATES - wrathtafarian/js-charts GitHub Wiki

🧩 IDEFAULT_DESIGN_TEMPLATES

The IDEFAULT_DESIGN_TEMPLATES constant is defined in the js/js-chart-common.js file.

The constant defines the default style templates to be used when rendering a chart.

The IDEFAULT_DESIGN_TEMPLATES constant is an array containing one structure for each style template.

Style templates can be added and removed from the IDEFAULT_DESIGN_TEMPLATES constant.

  • NEVER remove the default style template.
  • NEVER change the name of the default style template.

📝 Format

The IDEFAULT_DESIGN_TEMPLATES constant is an array that contains one style template in every array element.


🔍 Additional Reading

Refer to the following resources for additional reading material.