From 1ccf07536612e518b383fd2d1f689c42a9a15218 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 9 Nov 2017 17:13:28 +0100 Subject: [PATCH] Fix #28 --- Chart/BarChart.js | 1 + Chart/CalendarChart.js | 1 + Chart/CandlestickChart.js | 1 + Chart/ColumnChart.js | 1 + Chart/LineChart.js | 1 + Chart/PieChart.js | 1 + Chart/PyramidChart.js | 1 + Chart/ScatterplotChart.js | 1 + Chart/VWaterfallChart.js | 1 + Chart/WaterfallChart.js | 1 + 10 files changed, 10 insertions(+) diff --git a/Chart/BarChart.js b/Chart/BarChart.js index dbb5ba5..774f871 100644 --- a/Chart/BarChart.js +++ b/Chart/BarChart.js @@ -8,6 +8,7 @@ // Setting default chart values this.chart.margin = {top: 5, right: 0, bottom: 0, left: 0}; + /** global: d3 */ this.chart.color = d3.scale.category10(); this.chart.axis = { x: { diff --git a/Chart/CalendarChart.js b/Chart/CalendarChart.js index df0e8c8..df7a8ab 100644 --- a/Chart/CalendarChart.js +++ b/Chart/CalendarChart.js @@ -8,6 +8,7 @@ // Setting default chart values this.chart.margin = {top: 5, right: 0, bottom: 0, left: 0}; + /** global: d3 */ this.chart.color = d3.scale.quantize() .domain([-.05, .05]) .range(d3.range(11).map(function(d) { return "q" + d + "-11"; })); diff --git a/Chart/CandlestickChart.js b/Chart/CandlestickChart.js index 661cbeb..3248e08 100644 --- a/Chart/CandlestickChart.js +++ b/Chart/CandlestickChart.js @@ -8,6 +8,7 @@ // Setting default chart values this.chart.margin = {top: 5, right: 0, bottom: 0, left: 0}; + /** global: d3 */ this.chart.color = d3.scale.category10(); this.chart.axis = { x: { diff --git a/Chart/ColumnChart.js b/Chart/ColumnChart.js index 3f4763e..216999b 100644 --- a/Chart/ColumnChart.js +++ b/Chart/ColumnChart.js @@ -8,6 +8,7 @@ // Setting default chart values this.chart.margin = {top: 5, right: 0, bottom: 0, left: 0}; + /** global: d3 */ this.chart.color = d3.scale.category10(); this.chart.axis = { x: { diff --git a/Chart/LineChart.js b/Chart/LineChart.js index b703e3c..e96fbd3 100644 --- a/Chart/LineChart.js +++ b/Chart/LineChart.js @@ -8,6 +8,7 @@ // Setting default chart values this.chart.margin = {top: 5, right: 0, bottom: 0, left: 0}; + /** global: d3 */ this.chart.color = d3.scale.category10(); this.chart.axis = { x: { diff --git a/Chart/PieChart.js b/Chart/PieChart.js index 8052936..a7437d2 100644 --- a/Chart/PieChart.js +++ b/Chart/PieChart.js @@ -8,6 +8,7 @@ // Setting default chart values this.chart.margin = {top: 5, right: 0, bottom: 0, left: 0}; + /** global: d3 */ this.chart.color = d3.scale.category10(); this.chart.dataSettings.style.strokewidth = 1; this.chart.dataSettings.style.padding = 3; diff --git a/Chart/PyramidChart.js b/Chart/PyramidChart.js index f3e59c5..10ae00d 100644 --- a/Chart/PyramidChart.js +++ b/Chart/PyramidChart.js @@ -8,6 +8,7 @@ // Setting default chart values this.chart.margin = {top: 5, right: 0, bottom: 0, left: 0}; + /** global: d3 */ this.chart.color = d3.scale.category10(); this.chart.axis = { x: { diff --git a/Chart/ScatterplotChart.js b/Chart/ScatterplotChart.js index cccceeb..7c994da 100644 --- a/Chart/ScatterplotChart.js +++ b/Chart/ScatterplotChart.js @@ -8,6 +8,7 @@ // Setting default chart values this.chart.margin = {top: 5, right: 0, bottom: 0, left: 0}; + /** global: d3 */ this.chart.color = d3.scale.category10(); this.chart.axis = { x: { diff --git a/Chart/VWaterfallChart.js b/Chart/VWaterfallChart.js index 1cd3629..b0afe45 100644 --- a/Chart/VWaterfallChart.js +++ b/Chart/VWaterfallChart.js @@ -8,6 +8,7 @@ // Setting default chart values this.chart.margin = {top: 5, right: 0, bottom: 0, left: 0}; + /** global: d3 */ this.chart.color = d3.scale.category10(); this.chart.axis = { x: { diff --git a/Chart/WaterfallChart.js b/Chart/WaterfallChart.js index c5d7e65..a99dcad 100644 --- a/Chart/WaterfallChart.js +++ b/Chart/WaterfallChart.js @@ -8,6 +8,7 @@ // Setting default chart values this.chart.margin = {top: 5, right: 0, bottom: 0, left: 0}; + /** global: d3 */ this.chart.color = d3.scale.category10(); this.chart.axis = { x: {