Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrathings committed Jan 14, 2017
1 parent 2b1d34c commit c1f4466
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,18 @@ all chaining function use ase json...
bottom: 40,
left: 55
},
x: function (d) { return d.x; },
y: function (d) { return d.y; },
x: (d) => { return d.x; },
y: (d) => { return d.y; },
xScale: d3.time.scale(),
xAxis: {
ticks: d3.time.months,
tickFormat: function (d) {
tickFormat: (d) => {
return d3.time.format('%b')(new Date(d));
}
},
yAxis: {
axisLabel: 'Gross volume',
tickFormat: function (d) {
tickFormat: (d) => {
if (d == null) {
return 0;
}
Expand Down

0 comments on commit c1f4466

Please sign in to comment.