diff --git a/stories/GridAreaWithSeriesEventListeners.js b/stories/GridAreaWithSeriesEventListeners.js
new file mode 100644
index 0000000..949180d
--- /dev/null
+++ b/stories/GridAreaWithSeriesEventListeners.js
@@ -0,0 +1,56 @@
+import React from 'react';
+
+import {
+ XYPlot,
+ XAxis,
+ YAxis,
+ HorizontalGridLines,
+ VerticalGridLines,
+ LineSeries
+} from 'react-vis';
+import GridArea from '../src/grid-area';
+import '../node_modules/react-vis/dist/style.css';
+
+const MSEC_DAILY = 86400000;
+
+export default class GridAreaWithSeriesEvt extends React.Component {
+ render() {
+ const timestamp = new Date('September 9 2017').getTime();
+ return (
+
+
+
+ console.log('Clicked on series')}
+ onSeriesMouseOver={() => console.log('Mouse over on series')}
+ onSeriesMouseOut={() => console.log('Mouse out from series')}
+ />
+
+
+
+
+
+
+
+
+ );
+ }
+}
\ No newline at end of file
diff --git a/stories/GridAreaWithValueEventListeners.js b/stories/GridAreaWithValueEventListeners.js
new file mode 100644
index 0000000..d7148f5
--- /dev/null
+++ b/stories/GridAreaWithValueEventListeners.js
@@ -0,0 +1,56 @@
+import React from 'react';
+
+import {
+ XYPlot,
+ XAxis,
+ YAxis,
+ HorizontalGridLines,
+ VerticalGridLines,
+ LineSeries
+} from 'react-vis';
+import GridArea from '../src/grid-area';
+import '../node_modules/react-vis/dist/style.css';
+
+const MSEC_DAILY = 86400000;
+
+export default class BasicChartWithGridArea extends React.Component {
+ render() {
+ const timestamp = new Date('September 9 2017').getTime();
+ return (
+
+
+
+ console.log(`Clicked on value ${value}`)}
+ onValueMouseOver={(ev, value) => console.log(`Mouse over on value ${value}`)}
+ onValueMouseOut={(ev, value) => console.log(`Mouse out from value ${value}`)}
+ />
+
+
+
+
+
+
+
+
+ );
+ }
+}
\ No newline at end of file
diff --git a/stories/index.stories.js b/stories/index.stories.js
index a705d8b..61c0b9e 100644
--- a/stories/index.stories.js
+++ b/stories/index.stories.js
@@ -5,13 +5,18 @@ import { action } from '@storybook/addon-actions';
import { linkTo } from '@storybook/addon-links';
import { Button, Welcome } from '@storybook/react/demo';
-import ChartWithGridAreaHorizontal from './BasicGridAreaHorizontal';
-import ChartWithGridAreaVertical from './BasicGridAreaVertical';
-import ChartWithGridAreaDefaultColor from './GridAreaWithDefaultStyle';
+import BasicGridAreaHorizontal from './BasicGridAreaHorizontal';
+import BasicGridAreaVertical from './BasicGridAreaVertical';
+import GridAreaWithDefaultStyle from './GridAreaWithDefaultStyle';
+import GridAreaWithSeriesEventListeners from './GridAreaWithSeriesEventListeners';
+import GridAreaWithValueEventListeners from './GridAreaWithValueEventListeners';
storiesOf('Welcome', module).add('to Storybook', () => );
storiesOf('Grid area', module)
- .add('Basic Horizontal', () => )
- .add('Basic Vertical', () => )
- .add('With default style', () => )
+ .add('Basic Horizontal', () => )
+ .add('Basic Vertical', () => )
+ .add('With default style', () => )
+ .add('With series event handler', () => )
+ .add('With value event handler', () => )
+