OpenERP 7 how to add title in X-axis and Y-axis in the Particular Module Graph view?...
To add title in the \addons\web_graph\static\lib\flotr2\js\DefaultOptions.js File options avaiable to add title in x-axis and y-axis.
Flotr.defaultOptions = {
xaxis: {
ticks: null, // => format: either [1, 3] or [[1, 'a'], 3]
minorTicks: null, // => format: either [1, 3] or [[1, 'a'], 3]
showLabels: true, // => setting to true will show the axis ticks labels, hide otherwise
showMinorLabels: false,// => true to show the axis minor ticks labels, false to hide
labelsAngle: 0, // => labels' angle, in degrees
title: null, // => axis title
titleAngle: 0, // => axis title's angle, in degrees
},
x2axis: {},
yaxis: {
title: null, // => axis title
titleAngle: 90, // => axis title's angle, in degrees
},
y2axis: {
titleAngle: 270
},
};
But the title shows in all the graph. How to add the title in Particular Graph?... In java script which methods to override and shows title in particular Graph ?..