Skip to content

Commit 13abf91

Browse files
committed
full test suite is now passing
1 parent 525a096 commit 13abf91

10 files changed

+227
-170
lines changed

Diff for: Readme.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -216,17 +216,13 @@ String, defaults to `null`. Seeds the random number generator to create repeatab
216216

217217
False, string, or array of CSS-formatted colors, default is `'random'`. Specify the color gradient used on the x axis.
218218

219-
If false, the colors will not vary over the x axis; this requires the y_color to have a specified value.
220-
221219
Valid string values are 'random', or the name of a [colorbrewer palette](http://bl.ocks.org/mbostock/5577023) (i.e. 'YlGnBu' or 'RdBu'). When set to 'random', a gradient will be randomly selected from the colorbrewer library.
222220

223221
Valid array values should specify the color stops in any CSS format (i.e. `['#000000', '#4CAFE8', '#FFFFFF']`).
224222

225223
**`yColors`**
226224

227-
False, string or array of CSS-formatted colors, default is `'match'`. When set to 'match' the x-axis color gradient will be used on both axes.
228-
If false, the colors will not vary over the y axis; this requires the xColors to have a specified value.
229-
Otherwise, accepts the same options as xColors.
225+
False, string or array of CSS-formatted colors, default is `'match'`. When set to 'match' the x-axis color gradient will be used on both axes. Otherwise, accepts the same options as xColors.
230226

231227
**`palette`**
232228

Diff for: changelog.txt

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
v4
2+
- ground-up port to ES2015/ES-modules
3+
- colorFunction has a new method signature that allows for more powerful customization
4+
- new built-in colorFunctions: 'sparkle' and 'shadows'
5+
- all-new example code, see examples directory
6+
- all option keys are now camelCase, not snake_case
7+
- antialiasing issues solved for both SVG and Canvas rendering engines (#87, #30, #76)
8+
- browser-based canvas rendering is now retina-ready by default
9+
- removed dependency on seedrandom
10+
- removed dependency on jsdom
11+
12+
v3
13+
- close paths when rendering to canvas (thanks @Allidylls)
14+
- bump a few dependencies for security

0 commit comments

Comments
 (0)