Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/2.0.0 dev #537

Closed
wants to merge 245 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
245 commits
Select commit Hold shift + click to select a range
e5c7811
Added canvas to manage lineChart sizes.
DavidSouther Feb 9, 2014
4610c5c
Pulled noData call out.
DavidSouther Feb 9, 2014
5bfd4e9
Moved noData to canvas.
DavidSouther Feb 9, 2014
1807254
Pulled out chart wrap.
DavidSouther Feb 9, 2014
696f3d4
Pulled out legend into canvas.
DavidSouther Feb 9, 2014
56f98f6
Moved scatterChart to canvas.
DavidSouther Feb 9, 2014
8b2bb73
Factored Chart to extend Canvas.
DavidSouther Feb 9, 2014
211c9db
Improved no data testing.
DavidSouther Feb 13, 2014
d995b52
Load canvas in pieChart test.
DavidSouther Feb 13, 2014
28b200b
First pass on pieChart refactor.
DavidSouther Feb 13, 2014
2f1b3ec
Fixed canvas::noData
DavidSouther Feb 13, 2014
d26eded
Started work on pie graph.
DavidSouther Feb 15, 2014
f11ea1c
a simple test page for discreteBarChart
Mar 5, 2014
255f290
added canvas to the discreteBarChart example
Mar 5, 2014
028e4c1
refactoring -> width/height moved to canvas
Mar 5, 2014
d4bfb4d
refactoring -> margins
Mar 5, 2014
1277f7b
refactoring -> setRoot
Mar 6, 2014
d35fba8
refactoring -> noData
Mar 6, 2014
edfda39
advanced tests for discreteBarChart
Mar 6, 2014
3b8e68a
refactoring -> wrapChart
Mar 6, 2014
c7930ff
refactoring
Mar 6, 2014
c0c41cc
refactoring -> available height/width
Mar 6, 2014
0eeabee
refactoring
Mar 6, 2014
28c68dc
prevent overriding margin == zero
Mar 7, 2014
2adc7cb
refactoring -> margin
Mar 7, 2014
0251594
refactoring -> wrapChart + setRoot + small changes
Mar 7, 2014
6b9f6b8
refactoring
Mar 7, 2014
36d04c4
prevent overriding margin == zero
Mar 7, 2014
285c701
example updated, tests for the chart added
Mar 7, 2014
48aec64
refactoring, advanced tests
Mar 7, 2014
5501353
Merge pull request #1 from kashesandr/discreteBar/canvas
DavidSouther Mar 10, 2014
076782b
Merge pull request #2 from kashesandr/lineChart/canvas
DavidSouther Mar 10, 2014
302f11c
Merge pull request #3 from kashesandr/linePlusBar/canvas
DavidSouther Mar 10, 2014
38e1f18
Prune dead code.
DavidSouther Mar 10, 2014
ba04982
Moved all the models around, now nested not some flat folder.
DavidSouther Mar 11, 2014
1327f74
Examples only use nv.d3.js, test points to correct locations in src/m…
DavidSouther Mar 11, 2014
028e73b
Fixed duplicate named line model.
DavidSouther Mar 11, 2014
e8134be
tests for historicalBarChart
Mar 11, 2014
e485787
valueOrDefault added to the nv.utils
Mar 11, 2014
c78cb6e
valueOrDefault added to the nv.utils
Mar 11, 2014
ea71b93
Merge pull request #4 from kashesandr/value-or-default
DavidSouther Mar 11, 2014
8bc0512
refactoring
Mar 11, 2014
00dd4c8
this is correct
Mar 11, 2014
1157e15
Merge pull request #6 from kashesandr/historicalBarChart/canvas
DavidSouther Mar 11, 2014
5a04868
Merge pull request #5 from kashesandr/value-or-default
DavidSouther Mar 11, 2014
8a09bef
multiBar & multiBarChart
Mar 11, 2014
56e41b6
Added diffs from refactor.
DavidSouther Mar 11, 2014
39d01a7
nvd3Dev: Applied straightforward diff patches
fshao816 Mar 11, 2014
7002ae1
nvd3Dev: legend.js
fshao816 Mar 11, 2014
a1dd7f0
Merge pull request #7 from kashesandr/multiBar-multiBarChart/canvas
DavidSouther Mar 12, 2014
c5c33af
Merged all the #development changes in.
DavidSouther Mar 12, 2014
dd491b5
Merge branch 'canvas' of github.com:DavidSouther/nvd3 into canvas
DavidSouther Mar 12, 2014
a4570e4
built
DavidSouther Mar 12, 2014
1672fd6
Fixed up some bugs found in aloha.
DavidSouther Mar 12, 2014
72c602d
Added renderEnd
DavidSouther Mar 12, 2014
afb8fb7
built
DavidSouther Mar 12, 2014
70526f1
Several bug fixes.
DavidSouther Mar 12, 2014
42ca034
built
DavidSouther Mar 12, 2014
99cc137
multiBar & multiBarChart small fixes
Mar 12, 2014
18f7cc9
multiBarHorizontal + tests page
Mar 12, 2014
79a9980
Merge pull request #9 from kashesandr/multiBar-multiBarChart/canvas
DavidSouther Mar 12, 2014
f135c10
Merge pull request #10 from kashesandr/multiBarHorizontal-multiBarHor…
DavidSouther Mar 12, 2014
11d37de
nvd3Dev: Fixed renderwatch on line.js and linechart.js
fshao816 Mar 12, 2014
2879ac4
Merge pull request #11 from fshao816/canvas
DavidSouther Mar 12, 2014
35a30db
bullet & bulletChart
Mar 13, 2014
02d3492
stackedArea & stackedAreaChart
Mar 13, 2014
0627303
Merge pull request #13 from kashesandr/bullet-bulletChart/canvas
DavidSouther Mar 13, 2014
00eb9c0
Merge pull request #15 from kashesandr/stackedArea-stackedAreaChart/c…
DavidSouther Mar 13, 2014
ece13c1
scatter & scatterChart
Mar 13, 2014
8b2cb9f
added links to tests in the examples.html
Mar 14, 2014
de4690a
cumulativeLineChart + test page
Mar 14, 2014
d32d99c
refactored lineWithFisheye & lineWithFisheyeChart + added test page
Mar 14, 2014
89e7194
refactored lineWithFocusChart + added a test page
Mar 14, 2014
e98d5a5
Merge pull request #18 from kashesandr/cumulativeLineChart/canvas
DavidSouther Mar 14, 2014
3504f62
Merge pull request #20 from kashesandr/lineWithFisheye-lineWithFishey…
DavidSouther Mar 14, 2014
71efc36
Merge pull request #21 from kashesandr/lineWithFocusChart/canvas-2
DavidSouther Mar 14, 2014
164dadd
refactored linePlusBarWithFocusChart, added a tests page
Mar 17, 2014
19d41ea
refactored sparkline & sparklinePlus, added a test page
Mar 17, 2014
441a65c
cosmetic refactoring + nv.utils.valueOrDefault applied to setting a c…
Mar 17, 2014
156b496
Merge pull request #23 from kashesandr/sparkline-sparklinePlus/canvas
DavidSouther Mar 17, 2014
35482e3
Merge pull request #24 from kashesandr/refactoring-valueOrDefault/canvas
DavidSouther Mar 17, 2014
f367d2b
finderHeight
Mar 17, 2014
270c070
some wrong references to the common variables
Mar 17, 2014
6acd965
Merge pull request #25 from kashesandr/refactoring-wrong-variables
DavidSouther Mar 17, 2014
7af01d2
Merge branch 'canvas' into refactoring
Mar 18, 2014
9653f08
cosmetic refactoring
Mar 18, 2014
bc9bdb4
missed sizes in charts' settings
Mar 18, 2014
feb33e7
Merge pull request #26 from kashesandr/refactoring
DavidSouther Mar 18, 2014
554dab4
Merge pull request #27 from kashesandr/settings-missed
DavidSouther Mar 18, 2014
98c6663
Lots of refactoring from nvModel Mega Function to PieChart extends Chart
DavidSouther Mar 18, 2014
a147829
refactoring
Mar 19, 2014
247347b
Merge pull request #28 from kashesandr/refactoring-discreteBarChart
DavidSouther Mar 19, 2014
1169d01
Added some comments.
DavidSouther Mar 19, 2014
ea1cf24
Merge branch 'canvas' of github.com:DavidSouther/nvd3 into canvas
DavidSouther Mar 19, 2014
01073c5
Added a basic testing framework.
DavidSouther Mar 20, 2014
2550934
Added grunt connect test server.
DavidSouther Mar 20, 2014
3b087bc
Clarified language in the README.
DavidSouther Mar 20, 2014
5dd27ef
Test charts no longer get fallbacks.
DavidSouther Mar 20, 2014
fd74802
Fixed render/update methods on canvas.
DavidSouther Mar 20, 2014
992a0d4
Added jsperf link for call/apply switch.
DavidSouther Mar 20, 2014
6ca9ec7
refactoring
Mar 20, 2014
c66cb29
Merge pull request #29 from kashesandr/pie-pieChart/refactoring
DavidSouther Mar 20, 2014
a3acdc6
refactoring historicalBarChart
Mar 21, 2014
8bb30b8
to make .nv-x.nv-axis & .nv-y.nv-axis behind the chart
Mar 21, 2014
a0bc67f
Merge pull request #31 from kashesandr/refactoring-canvas
DavidSouther Mar 21, 2014
5b8478b
Merge pull request #32 from kashesandr/historicalBarChart/refactoring
DavidSouther Mar 21, 2014
31f4e29
Nearly complete worked example of Donut :: Pie :: Layer composition.
DavidSouther Mar 23, 2014
d024a2a
Renamed Canvas to Layer.
DavidSouther Mar 23, 2014
74d491a
Merge branch 'canvas' of github.com:DavidSouther/nvd3 into canvas
DavidSouther Mar 23, 2014
9255249
pieChart
Mar 25, 2014
3ea9926
merged feature/stateMgmt and canvas
Mar 26, 2014
7e32538
Merge branch 'refactoring-pie-pieChart' into feature/stateMgmt
Mar 26, 2014
84e860f
pie.js - labels, refactoring
Mar 26, 2014
a2f9998
multiBar & multiBarChart refactoring
Mar 26, 2014
bcd44e0
multiBar & multiBarChart refactoring
Mar 27, 2014
899e948
pie.js - labels, refactoring
Mar 26, 2014
d246f0c
refactoring
Mar 27, 2014
37b52ca
More code cleanup and commenting.
DavidSouther Mar 27, 2014
dd292b8
Merge branch 'canvas' into multiBar-multiBarChart
Mar 28, 2014
a6f0b31
refactoring
Mar 28, 2014
1a62e68
2 hot fixes
Mar 28, 2014
3886153
Merge branch 'canvas' into multiBar-multiBarChart
Mar 28, 2014
769791d
Added Layer::margin getter/setter.
DavidSouther Mar 28, 2014
eb922f1
refactoring
Mar 31, 2014
294b1ec
refactoring
Mar 31, 2014
25ab97e
refactoring
Mar 31, 2014
296d2c3
refactoring
Mar 31, 2014
f9a7257
Fix bug where update() was adding a second wrap.
DavidSouther Mar 31, 2014
a67be48
Merge remote-tracking branch 'kashesandr/multiBarHorizontal-multiBarH…
DavidSouther Mar 31, 2014
73c9ae0
refactoring
Apr 1, 2014
c2a8afb
refactoring
Apr 1, 2014
f46001e
Renamed and seperated layer and chart.
DavidSouther Apr 1, 2014
a62fed2
PieChart uses composition for Sunbeam layout.
DavidSouther Apr 1, 2014
6f5926d
Merge remote-tracking branch 'kashesandr/multiBarHorizontal-multiBarH…
DavidSouther Apr 1, 2014
d4fbde2
Merge remote-tracking branch 'kashesandr/multiBar-multiBarChart/refac…
DavidSouther Apr 1, 2014
fcab410
Fixed links to layer, chart.
DavidSouther Apr 1, 2014
c57202f
refactoring
Apr 1, 2014
bc6f744
refactoring
Apr 1, 2014
3198214
refactoring
Apr 1, 2014
a65b503
Merge branch 'canvas' into line-lineChart/refactoring
Apr 2, 2014
c5b54e2
refactoring
Apr 2, 2014
985887e
Merge remote-tracking branch 'kashesandr/multiBar-multiBarChart/refac…
DavidSouther Apr 3, 2014
dd3e34a
Merge remote-tracking branch 'kashesandr/multiBarHorizontal-multiBarH…
DavidSouther Apr 3, 2014
f80a3a8
Moving axes into Chart
DavidSouther Apr 3, 2014
fb6cf0f
refactoring
Apr 3, 2014
8857b6d
refactoring
Apr 3, 2014
a7d589e
refactoring partially
Apr 3, 2014
d86ff1c
Merge branch 'line-lineChart/refactoring' into linePlusBarChart/refac…
Apr 4, 2014
1c831c3
refactored partially
Apr 4, 2014
b7123e1
refactoring
Apr 4, 2014
ad2f1f9
Merge branch 'historicalBar-historicalBarChart/refactoring' into line…
Apr 7, 2014
7557207
linePlusBarChart
Apr 7, 2014
03d5b15
historicalBar
Apr 7, 2014
addd902
line
Apr 7, 2014
8bef6d8
Merge branch 'historicalBar-historicalBarChart/refactoring' into line…
Apr 7, 2014
437de8c
refactoring
Apr 7, 2014
bc2dc10
Merge branch 'line-lineChart/refactoring' into linePlusBarChart/refac…
Apr 7, 2014
09f8c63
refactoring
Apr 7, 2014
bf508de
Merge branch 'line-lineChart/refactoring' into linePlusBarChart/refac…
Apr 7, 2014
ddc0481
Merge branch 'canvas' into linePlusBarWithFocusChart/canvas
Apr 8, 2014
38151c1
Merge branch 'line-lineChart/refactoring' into linePlusBarWithFocusCh…
Apr 8, 2014
6931227
Merge branch 'historicalBar-historicalBarChart/refactoring' into line…
Apr 8, 2014
52c5f31
test page updated
Apr 8, 2014
4806374
cleaned up
Apr 8, 2014
2877762
Merge branch 'line-lineChart/refactoring' into linePlusBarWithFocusCh…
Apr 8, 2014
7bb9022
refactoring
Apr 8, 2014
d41e4e3
cosmetic refactoring
Apr 8, 2014
a8fa03e
bullet.js refactoring
Apr 8, 2014
1e705eb
Merge pull request #37 from kashesandr/historicalBar-historicalBarCha…
DavidSouther Apr 8, 2014
f2da086
Merge pull request #38 from kashesandr/multiBar-multiBarChart/refacto…
DavidSouther Apr 8, 2014
926c1a9
Merge pull request #39 from kashesandr/bullet-bulletChart/refactoring
DavidSouther Apr 8, 2014
d4a9010
bullet.js & bulletChart.js refactoring
Apr 9, 2014
4a234b2
Merge pull request #40 from kashesandr/bullet-bulletChart/refactoring
DavidSouther Apr 9, 2014
8bcd22d
cumulativeLineChart
Apr 10, 2014
c3dc24a
cumulativeLineChart
Apr 10, 2014
9eb5900
cumulativeLineChart
Apr 10, 2014
b70a80a
cumulativeLineChart
Apr 11, 2014
938be05
cumulativeLineChart
Apr 11, 2014
d5b3d66
cosmetic refactoring
Apr 11, 2014
155c216
Fixed some test script paths.
DavidSouther Apr 11, 2014
d235f52
Merge pull request #41 from kashesandr/cumulativeLineChart/refactoring
DavidSouther Apr 11, 2014
074a8dc
Merge pull request #42 from kashesandr/multiBar-multiBarChart
DavidSouther Apr 11, 2014
8ee490e
cosmetic refactoring
Apr 11, 2014
e1f1b53
Merge pull request #43 from kashesandr/line-lineChart/refactoring
DavidSouther Apr 14, 2014
437bbb9
axis refactoring
Apr 14, 2014
333b2b0
cosmetic refactoring
Apr 15, 2014
22ac636
refactoring
Apr 15, 2014
35a6b7d
refactoring
Apr 15, 2014
331322c
Merge pull request #44 from kashesandr/axis/refactoring
DavidSouther Apr 15, 2014
f9fe092
Merge pull request #45 from kashesandr/legend/refactoring
DavidSouther Apr 15, 2014
2963da1
refactoring
Apr 15, 2014
f9da623
refactoring
Apr 15, 2014
144ab7c
refactoring
Apr 15, 2014
ceb792f
Merge pull request #46 from kashesandr/boilerplate/refactoring
DavidSouther Apr 15, 2014
d6a62c5
Merge pull request #47 from kashesandr/distribution/refactoring
DavidSouther Apr 15, 2014
8c91d3a
refactoring
Apr 16, 2014
ceca4da
Merge pull request #48 from kashesandr/sparkline-sparklinePlus/refact…
DavidSouther Apr 16, 2014
ac3fd4e
refactoring
Apr 17, 2014
43d90c7
refactoring
Apr 17, 2014
74e1d0e
refactoring
Apr 18, 2014
a77603b
refactoring
Apr 18, 2014
fe71827
Merge pull request #49 from kashesandr/stackedArea-stackedAreaChart/r…
DavidSouther Apr 18, 2014
bb8ed75
Merge pull request #50 from kashesandr/discreteBar-discreteBarChart/r…
DavidSouther Apr 18, 2014
72bfe9b
refactoring
Apr 21, 2014
c7bdc99
refactoring
Apr 21, 2014
d29316f
refactoring
Apr 22, 2014
df4db96
refactoring
Apr 22, 2014
d239605
refactoring - `tooltipContent` moved to the Chart.js
Apr 22, 2014
e75c405
Merge pull request #51 from kashesandr/scatter-scatterChart/refactoring
DavidSouther Apr 22, 2014
1be6fb7
refactoring - clean up
Apr 22, 2014
3f38a75
refactoring - clean up
Apr 22, 2014
3f74a3f
refactoring - cosmetic
Apr 23, 2014
ce7822e
refactoring - getStatesManager moved to the Chart.js
Apr 23, 2014
6313076
Merge branch 'canvas' into refactoring
Apr 23, 2014
b19e388
Refactoring - getStatesManager moved to the Chart.js.
Apr 23, 2014
c5cc365
Refactoring - cosmetic in cumulativeLineChart
Apr 23, 2014
cc8d41e
Refactoring - clean up private variables
Apr 23, 2014
db1de0e
added comments
Apr 24, 2014
aa89388
cosmetic refactoring
Apr 24, 2014
ab0643c
Merge pull request #17 from kashesandr/scatter-scatterChart/canvas
DavidSouther May 1, 2014
22f29c9
Merge pull request #22 from kashesandr/linePlusBarWithFocusChart/canvas
DavidSouther May 1, 2014
04c961c
Merge pull request #36 from kashesandr/linePlusBarChart/refactoring
DavidSouther May 1, 2014
9e9fb96
Merge pull request #52 from kashesandr/refactoring
DavidSouther May 1, 2014
95c8a8a
Improved nv.utils.extend.
DavidSouther May 1, 2014
5b48815
Merge branch 'canvas' of github.com:DavidSouther/nvd3 into canvas
DavidSouther May 1, 2014
57d9f6e
built
DavidSouther May 1, 2014
b6a8299
Fix merge conflict and built.
DavidSouther May 1, 2014
8a726db
Fixes and builds!
DavidSouther May 2, 2014
2fbd913
canvas: Fixed xAxis and yAxis api in chart.js
fshao816 May 5, 2014
91d5f5b
fixed several model api issues
fshao816 May 6, 2014
d6c40a6
Added testing suite; added tests for layer, and scatter; cleaned up g…
fshao816 May 8, 2014
04d06c9
Added bower_components to gitignore
fshao816 May 8, 2014
e8702df
Axis api clears tests
fshao816 May 8, 2014
b9293c9
Scatter model passes tests
fshao816 May 9, 2014
e9d4fe0
dispatch and optionsFunc testing
fshao816 May 9, 2014
6c37801
Added scatterchart test
fshao816 May 9, 2014
5610e1f
Added line tests
fshao816 May 9, 2014
6162467
Added lineChart tests
fshao816 May 9, 2014
0a36c70
Added cumulativeLineChart tests
fshao816 May 9, 2014
952b0eb
Refactor api tests to use config
fshao816 May 9, 2014
1d5a41b
Added more chart api test
fshao816 May 9, 2014
6f77bb8
Added test for size api
fshao816 May 9, 2014
405131a
Merge pull request #53 from fshao816/canvas
DavidSouther May 11, 2014
5408361
Merge pull request #54 from fshao816/canvas_testing
DavidSouther May 11, 2014
39a7826
Run karma tests in default.
DavidSouther May 11, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -25,3 +25,4 @@ Thumbs.db
# nodejs packages #
######################
node_modules
bower_components
5 changes: 5 additions & 0 deletions CHANGELOG
@@ -0,0 +1,5 @@
# Breaking Changes

1. `nv.model.pie().donut(true)` no longer valid, now use `nv.model.donut()`.
1. `nv.model.pieChart().donut(true)` no longer valid, now use `nv.model.donutChart()`.

120 changes: 120 additions & 0 deletions GruntFile.coffee
@@ -0,0 +1,120 @@
module.exports = (grunt)->
flatten = (a, b)-> a.concat b

files = [
'core'
'utils'
'layer'
'interactiveLayer'
'tooltip'
'utils'
'models/axis'
'models/legend'
'models/distribution'
'chart'
'models/bar/**/*'
'models/bullet/**/*'
'models/line/**/*'
'models/pie/pie*'
'models/pie/donut'
'models/scatter/**/*'
'models/sparkline/**/*'
'models/stackedArea/**/*'
]

# Project configuration.

gruntConfig =

pkg: grunt.file.readJSON('package.json')

concat:
options:
separator: '\n'
banner: '(function(){\n'
footer: '\n})();'
dist:
src: files,
dest: 'nv.d3.js'

uglify:
options:
banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %> */'
js:
files:
'nv.d3.min.js': ['nv.d3.js']

jshint:
foo:
src: "src/**/*.js"
options:
jshintrc: '.jshintrc'
watch:
js:
files: ["src/**/*.js"],
tasks: ['concat']
copy:
css:
files: [
{ src: 'src/nv.d3.css', dest: 'nv.d3.css' }
]

cssmin:
dist:
files:
'nv.d3.min.css' : ['nv.d3.css']

mochaTest:
nvd3:
options:
reporter: 'spec'
src: ['test/runner/loadAll.coffee']

connect:
options:
port: 8808
test: {},
serve:
options:
keepalive: true
karma:
client:
options:
browsers: ['Chrome']
frameworks: [ 'mocha', 'sinon-chai' ]
reporters: [ 'spec' ]
singleRun: true
preprocessors: {
'test/**/*.coffee': ['coffee']
}
files: [
'bower_components/d3/d3.js'
'bower_components/jquery/dist/jquery.js'
files.map (d)-> "src/#{d}.js"
'test/tools/**/*.coffee'
files.map (d)-> "test/unit/#{d}.coffee"
].reduce(flatten, [])
coverageReporter:
type: 'lcov'
dir: 'build/coverage/'

grunt.initConfig gruntConfig

grunt.loadNpmTasks('grunt-contrib-watch')
grunt.loadNpmTasks('grunt-contrib-concat')
grunt.loadNpmTasks('grunt-contrib-jshint')
grunt.loadNpmTasks('grunt-contrib-uglify')
grunt.loadNpmTasks('grunt-contrib-copy')
grunt.loadNpmTasks('grunt-contrib-cssmin')
grunt.loadNpmTasks('grunt-contrib-connect')
grunt.loadNpmTasks('grunt-mocha-test')
grunt.loadNpmTasks('grunt-selenium-launcher')
grunt.loadNpmTasks('grunt-karma')

grunt.registerTask('test', ['connect:test', 'selenium-launch', 'mochaTest:nvd3'])

grunt.registerTask('default', ['karma', 'concat', 'copy', 'test'])
grunt.registerTask('production', ['concat', 'uglify', 'copy', 'cssmin'])
grunt.registerTask('release', ['production'])
grunt.registerTask('lint', ['jshint'])
106 changes: 0 additions & 106 deletions GruntFile.js

This file was deleted.

33 changes: 9 additions & 24 deletions README.md
@@ -1,6 +1,6 @@
# NVD3 - v1.1.15-beta
## Release notes for version 1.1.15 beta
* Various fixes across the board
# NVD3 - v1.2.0-beta
## Release notes for version 1.2.0 beta
* Major internal refactoring, with no API changes.

## Overview
A reusable chart library for d3.js.
Expand All @@ -14,8 +14,10 @@ You can also check out the [examples page](http://nvd3.org/ghpages/examples.html

# Current development focus

- Getting documentation up.
- Unifying common API functions between charts.
- Refactor to a more sane chart structure.
- **Composable**: Unify common API functions between charts.
- **Reliable**: Impose an automated testing scheme.
- **Extensible**:
- Bug fixes that come up.

---
Expand All @@ -42,24 +44,6 @@ We are currently changing our branch structure so that master will be gauranteed

## Minifying your fork:

### Using Make
The Makefile requires [UglifyJS](https://github.com/mishoo/UglifyJS) and [CSSMin](https://github.com/jbleuzen/node-cssmin)

The easiest way to install UglifyJS and CSSMin is via npm. Run `npm install -g uglify-js cssmin`. After installing verify the setup by running `uglifyjs --version` and `cssmin --help`.

Once you have the `uglifyjs` and `cssmin` commands available, running `make` from your
fork's root directory will rebuild both `nv.d3.js` and `nv.d3.min.js`.

make # build nv.d3.js and nv.d3.css and minify
make nv.d3.js # Build nv.d3.js
make nv.d3.min.js # Minify nv.d3.js into nv.d3.min.js
make nv.d3.css # Build nv.d3.css
make nv.d3.min.css # Minify nv.d3.css into nv.d3.min.css
make clean # Delete nv.d3.*js and nv.d3.*css


*Without UglifyJS of CSSMin, you won't get the minified versions when running make.**

### Using Grunt

You can use grunt instead of makefile to build js file. See more about [grunt](http://gruntjs.com/).
Expand All @@ -73,12 +57,13 @@ Then, you can use these commands:
grunt watch # watch file changes in src/, and rebuild nv.d3.js, it's very helpful when delevop NVD3
grunt lint # run jshint on src/**/*.js

**We ask that you DO NOT minify pull requests...
**We ask that you DO NOT minify pull requests!**
If you need to minify please build pull request in separate branch, and
merge and minify in your master.

## Supported Browsers
NVD3 runs best on WebKit based browsers.
(We will remove this caveat as we begin testing on other browsers.)

* **Google Chrome: latest version (preferred)**
* **Opera 15+ (preferred)**
Expand Down
12 changes: 9 additions & 3 deletions bower.json
Expand Up @@ -9,7 +9,10 @@
"Frank Shao"
],
"description": "Re-usable charts and chart components for d3.",
"main": ["nv.d3.js", "src/nv.d3.css"],
"main": [
"nv.d3.js",
"src/nv.d3.css"
],
"keywords": [
"d3",
"visualization",
Expand All @@ -20,7 +23,7 @@
"dependencies": {
"d3": "~3.3.13"
},
"ignore" : [
"ignore": [
"**/.*",
"node_modules",
"bower_components",
Expand All @@ -31,5 +34,8 @@
"lib",
"examples",
"deprecated"
]
],
"devDependencies": {
"jquery": "~2.1.1"
}
}
2 changes: 0 additions & 2 deletions examples/bullet.html
Expand Up @@ -16,8 +16,6 @@

<script src="../lib/d3.v3.js"></script>
<script src="../nv.d3.js"></script>
<script src="../src/utils.js"></script>
<script src="../src/models/bullet.js"></script>
<script>

var width = 960,
Expand Down
5 changes: 1 addition & 4 deletions examples/bulletChart.html
Expand Up @@ -13,17 +13,14 @@

<br> <br> <br> <br> <br>

Normal Bullet Chart
Normal Bullet Chart
<div class="gallery with-transitions" id="chart"></div>

Bullet Chart with Custom Labels
<div class='gallery with-transitions' id='chart2'></div>

<script src="../lib/d3.v3.js"></script>
<script src="../nv.d3.js"></script>
<script src="../src/utils.js"></script>
<script src="../src/models/bullet.js"></script>
<script src="../src/models/bulletChart.js"></script>
<script>

var width = 960,
Expand Down