lucid-ui
Version:
A UI component library from AppNexus.
37 lines • 1.31 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
var create_react_class_1 = __importDefault(require("create-react-class"));
var index_1 = require("../../../index");
var data = [
{ x: '2015-01-01', y: 1 },
{ x: '2015-01-02', y: 2 },
{ x: '2015-01-03', y: 3 },
{ x: '2015-01-04', y: 5 },
{ x: '2015-01-05', y: 2 },
{ x: '2015-01-06', y: 3 },
{ x: '2015-01-07', y: 2 },
{ x: '2015-01-08', y: 2 },
{ x: '2015-01-09', y: 5 },
{ x: '2015-01-10', y: 3 },
{ x: '2015-01-11', y: 4 },
{ x: '2015-01-12', y: 4 },
{ x: '2015-01-13', y: 5 },
{ x: '2015-01-14', y: 3 },
{ x: '2015-01-15', y: 4 },
{ x: '2015-01-16', y: 3 },
{ x: '2015-01-17', y: 6 },
];
var style = {
paddingTop: '4rem',
};
exports.default = create_react_class_1.default({
render: function () {
return (react_1.default.createElement("div", { style: style },
react_1.default.createElement(index_1.BarChart, { width: 750, data: data, yAxisMin: 0, xAxisTickCount: 5, yAxisTickCount: 4 })));
},
});
//# sourceMappingURL=05.limited-ticks.js.map