Commit 4c6cc775 authored by Nicolas Wavrant's avatar Nicolas Wavrant

erp5_officejs: allow customer to pass custom parameters to echarts

parent f1846727
......@@ -129,6 +129,11 @@
graph_data_and_parameter.series = dataset_list;
// overwrite defaults with custom extra options
for (var parameter in (configuration_dict.extra_param || [])) {
graph_data_and_parameter[parameter] = configuration_dict.extra_param[parameter];
}
return graph_data_and_parameter;
};
/////////////////////////////////////////////////////////////////
......
......@@ -228,7 +228,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <string>nicolas.wavrant</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -242,7 +242,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>961.52409.12026.48179</string> </value>
<value> <string>966.58845.46135.39509</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -260,8 +260,8 @@
</tuple>
<state>
<tuple>
<float>1504517195.47</float>
<string>UTC</string>
<float>1525249668.09</float>
<string>GMT+2</string>
</tuple>
</state>
</object>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment