darkening the graph

This commit is contained in:
Martin Donnelly 2016-08-16 10:51:20 +01:00
parent ae3d45f75c
commit bda2eee000

View File

@ -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);