"use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) {
    for (var s, i = 1, n = arguments.length; i < n; i++) {
        s = arguments[i];
        for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
            t[p] = s[p];
    }
    return t;
};
exports.__esModule = true;
var React = require("react");
var react_1 = require("@storybook/react");
var _1 = require(".");
var config = {
    linearAxis: {
        axisLabel: 'Price',
        indicator: 'value'
    },
    categoryAxis: {
        axisLabel: 'Years',
        indicator: 'year'
    }
};
var data = [
    { value: 318.3, year: '2001' },
    { value: 301.6, year: '2002' },
    { value: 238.1, year: '2003' },
];
var props = { config: config, data: data, height: '200px' };
react_1.storiesOf('Histogram', module).add('Brazil config', function () {
    return (React.createElement("div", { style: { width: '30%', padding: '50px' } },
        React.createElement(_1["default"], __assign({}, props))));
});
