import * as React from 'react'; import JqxBulletChart, { IBulletChartProps } from 'jqwidgets-scripts/jqwidgets-react-tsx/jqxbulletchart'; class App extends React.PureComponent<{}, IBulletChartProps> { constructor(props: {}) { super(props); this.state = { pointer: { label: 'Revenue 2019 YTD', size: '25%', value: 270 }, ranges: [ { color: '#CC0000', endValue: 200, opacity: 1, startValue: 0 }, { color: '#FFD633', endValue: 250, opacity: 1, startValue: 200 }, { color: '#00CC00', endValue: 300, opacity: 1, startValue: 250 } ], target: { label: 'Revenue 2018 YTD', size: 4, value: 260 }, ticks: { interval: 50, position: 'far', size: 10 } } }; public render() { return ( ); } } export default App;