mirror of
https://gitlab.silvrtree.co.uk/martind2000/mdot_server.git
synced 2025-02-25 07:03:35 +00:00
darkening the graph
This commit is contained in:
parent
ae3d45f75c
commit
bda2eee000
@ -370,6 +370,7 @@
|
||||
valueAxis.position = 'left';
|
||||
valueAxis.gridColor = '#FFFFFF';
|
||||
valueAxis.axisColor = '#cccccc';
|
||||
valueAxis.color = 'rgba(46,255,0,1)';
|
||||
self.chart.addValueAxis(valueAxis);
|
||||
|
||||
if (mode === 6) {
|
||||
@ -379,6 +380,7 @@
|
||||
co2Axis.showFirstLabel = false;
|
||||
co2Axis.showLastLabel = false;
|
||||
co2Axis.title = 'Co2 Levels';
|
||||
co2Axis.color = 'rgba(0,191,255,1)';
|
||||
co2Axis.position = 'right';
|
||||
self.chart.addValueAxis(co2Axis);
|
||||
|
||||
@ -398,12 +400,10 @@
|
||||
|
||||
// GRAPH
|
||||
var graph = new AmCharts.AmGraph();
|
||||
//graph.dashLength = 3;
|
||||
|
||||
graph.lineColor = 'rgba(46,255,0,1)';
|
||||
graph.labelColor = 'rgba(46,255,0,1)';
|
||||
graph.valueField = 'value';
|
||||
//graph.dashLength = 3;
|
||||
/* Graph.bullet = 'round';*/
|
||||
graph.balloonText = '[[category]]<br><b><span style=\'font-size:14px;\'>' + this.titles[this.mode] + ':[[value]]</span></b>';
|
||||
self.chart.addGraph(graph);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user