Skip to content

Commit d373d1a

Browse files
committed
add support for focusEnable
1 parent 809af48 commit d373d1a

24 files changed

Lines changed: 88 additions & 77 deletions

‎CHANGELOG.rst‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
Changelog
22
=========
33

4-
0.14.0 - work in progress
5-
-------------------
4+
0.13.6 - (2015-04-06)
5+
---------------------
6+
7+
* add support for focusEnable
68

79
* remove linePlusBarWithFocusChart as this is replaced by linePlusBarChart with option FocusEnable():
810
http://nvd3-community.github.io/nvd3/examples/documentation.html#linePlusBarChart

‎docs/source/includes/introduction.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ After installation use python-nvd3 as follows ::
4949

5050
from nvd3 import pieChart
5151

52-
#Open File to write the D3 Graph
52+
# Open File to write the D3 Graph
5353
output_file = open('test-nvd3.html', 'w')
5454

5555
type = 'pieChart'
@@ -64,7 +64,7 @@ After installation use python-nvd3 as follows ::
6464
chart.buildhtml()
6565
output_file.write(chart.htmlcontent)
6666

67-
#close Html file
67+
# close Html file
6868
output_file.close()
6969

7070

‎examples/CumulativeLineChart.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
start_time = int(time.mktime(datetime.datetime(2012, 6, 1).timetuple()) * 1000)
1919
nb_element = 100
2020

21-
#Open File for test
21+
# Open File for test
2222
output_file = open('test_cumulativeLineChart.html', 'w')
2323

2424
type = "cumulativeLineChart"
@@ -38,7 +38,7 @@
3838
chart.buildhtml()
3939

4040
output_file.write(chart.htmlcontent)
41-
#---------------------------------------
41+
# ---------------------------------------
4242

43-
#close Html file
43+
# close Html file
4444
output_file.close()

‎examples/DiscreteBarChart.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from nvd3.discreteBarChart import DiscreteBarChart
1313

1414

15-
#Open File for test
15+
# Open File for test
1616
output_file = open('test_discreteBarChart.html', 'w')
1717

1818
type = "discreteBarChart"
@@ -26,7 +26,7 @@
2626

2727
chart.buildhtml()
2828
output_file.write(chart.htmlcontent)
29-
#---------------------------------------
29+
# ---------------------------------------
3030

31-
#close Html file
31+
# close Html file
3232
output_file.close()

‎examples/LineChart.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
from nvd3.lineChart import LineChart
1313

14-
#Open File for test
14+
# Open File for test
1515
output_file = open('test_lineChart.html', 'w')
16-
#---------------------------------------
16+
# ---------------------------------------
1717
chart = LineChart(name="lineChart", x_is_date=False, x_axis_format="AM_PM")
1818

1919
xdata = []
@@ -37,5 +37,5 @@
3737

3838
output_file.write(chart.htmlcontent)
3939

40-
#close Html file
40+
# close Html file
4141
output_file.close()

‎examples/LineWithFocusChart.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
start_time = int(time.mktime(datetime.datetime(2012, 6, 1).timetuple()) * 1000)
1919
nb_element = 100
2020

21-
#Open File for test
21+
# Open File for test
2222
output_file = open('test_lineWithFocusChart.html', 'w')
23-
#---------------------------------------
23+
# ---------------------------------------
2424
type = "lineWithFocusChart"
2525
chart = LineWithFocusChart(name=type, color_category='category20b', x_is_date=True, x_axis_format="%d %b %Y %H")
2626
chart.set_containerheader("\n\n<h2>" + type + "</h2>\n\n")
@@ -45,5 +45,5 @@
4545

4646
output_file.write(chart.htmlcontent)
4747

48-
#close Html file
48+
# close Html file
4949
output_file.close()

‎examples/MultiBarChart.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from nvd3.multiBarChart import MultiBarChart
1313
import random
1414

15-
#Open File for test
15+
# Open File for test
1616
output_file = open('test_multiBarChart.html', 'w')
1717

1818
type = "multiBarChart"
@@ -30,7 +30,7 @@
3030
chart.buildhtml()
3131

3232
output_file.write(chart.htmlcontent)
33-
#---------------------------------------
33+
# ---------------------------------------
3434

35-
#close Html file
35+
# close Html file
3636
output_file.close()

‎examples/MultiBarHorizontalChart.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from nvd3.multiBarHorizontalChart import MultiBarHorizontalChart
1313
import random
1414

15-
#Open File for test
15+
# Open File for test
1616
output_file = open('test_multiBarHorizontalChart.html', 'w')
1717

1818
type = "multiBarHorizontalChart"
@@ -31,6 +31,6 @@
3131
chart.buildhtml()
3232

3333
output_file.write(chart.htmlcontent)
34-
#---------------------------------------
35-
#close Html file
34+
# ---------------------------------------
35+
# close Html file
3636
output_file.close()

‎examples/PieChart.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from nvd3.pieChart import PieChart
1313

1414

15-
#Open File for test
15+
# Open File for test
1616
output_file = open('test_pieChart.html', 'w')
1717

1818
type = "pieChart"
@@ -26,7 +26,7 @@
2626
chart.add_serie(y=ydata, x=xdata, extra=extra_serie)
2727
chart.buildhtml()
2828
output_file.write(chart.htmlcontent)
29-
#---------------------------------------
29+
# ---------------------------------------
3030

31-
#close Html file
31+
# close Html file
3232
output_file.close()

‎examples/ScatterChart.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from nvd3.scatterChart import ScatterChart
1313
import random
1414

15-
#Open File for test
15+
# Open File for test
1616
output_file = open('test_ScatterChart.html', 'w')
1717

1818
type = "scatterChart"
@@ -36,7 +36,7 @@
3636
chart.buildhtml()
3737

3838
output_file.write(chart.htmlcontent)
39-
#---------------------------------------
39+
# ---------------------------------------
4040

41-
#close Html file
41+
# close Html file
4242
output_file.close()

0 commit comments

Comments
 (0)