Hi all,
I am using the object ChartView (type column) however i am not able to set the intervals (units) in AXIS X for 1 hour.
I am executing the query (timechart span=1h sum("XXXXXX") by "YYYYYY") however the data are being displayed with 4 hours of difference between each unit in AXIS X (Unit tick like 4 AM , 8 AM, 12 PM, 4 PM....).
In the Javascript i have the below code:
Columnchart = new ChartView({
id: "chart1",
managerid: SearchManager.name,
type: "column",
"charting.axisTitleX.text": "Last hours",
"charting.chart.showDataLabels": "all",
"charting.legend.placement": "none",
"charting.scaleX": 1,
"charting.axisLabelsX.majorLabelVisibility": "show",
"charting.axisLabelsX.majorTickVisibility": "show",
"charting.axisLabelsX.minorTickVisibility": "show",
"charting.axisX.includeZero": true,
"charting.axisY.includeZero": true,
"charting.axisLabelsX.majorUnit": "0H30M0S" ,
"charting.chart.columnSpacing" : 2,
el: $('#modalVizualization')
}).render();
I believe that the property "majorUnit" is responsible for this configuration, riight? But it is not reflecting on the graph.
Thanks and regards,
Danillo Pavan
↧