Commit d9d11731 authored by Sebastien Robin's avatar Sebastien Robin

officejs: enable title on plotly graphs

parent 969c3e23
......@@ -30,6 +30,9 @@
console.log("getGraphDataAndParameterFromConfiguration 1 configuration_dict", configuration_dict);
graph_data_and_parameter.data_list = [];
graph_data_and_parameter.layout = {modeBarButtonsToRemove: ['sendDataToCloud']};
if (configuration_dict.title !== undefined) {
graph_data_and_parameter.layout.title = configuration_dict.title;
}
function setCurrentData(axis_data) {
console.log("setCurrentData, axis_data", axis_data);
......
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