From bda2eee000415c2064414b5d33a09532331050c6 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Tue, 16 Aug 2016 10:51:20 +0100 Subject: [PATCH] darkening the graph --- app/js/mdot.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/js/mdot.js b/app/js/mdot.js index 0fb7bb2..2ea23be 100644 --- a/app/js/mdot.js +++ b/app/js/mdot.js @@ -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]]
' + this.titles[this.mode] + ':[[value]]'; self.chart.addGraph(graph);