Is it possible to summarize settings of a diagram? I am creating diagram data dynamically in PHP (with CodeIgniter Framework) and passing them to JavaScript via JSON, but some of the diagram settings are equal.
var settings = { title: '', description: 'Antwortzeiten am ', enableAnimations: false, showLegend: true, showBorderLine: false, columnSeriesOverlap: true, padding: {left: 10, top: 5, right: 10, bottom: 5}, titlePadding: {left: 90, top: 0, right: 0, bottom: 10}, source: awz_dataAdapter, categoryAxis: { ...
Is it possible to make an array only containing
enableAnimations: false,showLegend: true,showBorderLine: false,columnSeriesOverlap: true
and add it to the settings?