From 4209709e8c7020daf10ccaf7f6fc26317a1637a4 Mon Sep 17 00:00:00 2001 From: Ben McCann Date: Wed, 5 Sep 2018 10:20:19 -0700 Subject: [PATCH] Add missing xAccessor --- docs/lib/charts/AreaChartWithZoomPan.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/lib/charts/AreaChartWithZoomPan.js b/docs/lib/charts/AreaChartWithZoomPan.js index 60b5cff78..a37b58554 100644 --- a/docs/lib/charts/AreaChartWithZoomPan.js +++ b/docs/lib/charts/AreaChartWithZoomPan.js @@ -70,8 +70,10 @@ class AreaChartWithEdge extends React.Component { d.date} yAccessor={d => d.close} - xDisplayFormat={timeFormat("%Y-%m-%d")} yDisplayFormat={format(".2f")} + xDisplayFormat={timeFormat("%Y-%m-%d")} + yDisplayFormat={format(".2f")} /* valueStroke="green" - optional prop */ /* labelStroke="#4682B4" - optional prop */ origin={[-40, 0]}/>