react-jsx-highmaps
Version:
Highmaps built using React components
36 lines (32 loc) • 966 B
JavaScript
import { withSeriesType } from 'react-jsx-highcharts';
export {
Chart,
ColorAxis,
Credits,
Debug,
HighchartsProvider as HighmapsProvider,
Loading,
Legend,
Series,
Subtitle,
Title,
Tooltip,
useHighcharts,
useChart,
useAxis,
useSeries,
withHighcharts as withHighmaps,
withSeriesType
} from 'react-jsx-highcharts';
// Charts
export { default as HighchartsMapChart } from './components/HighchartsMapChart';
// Graph Parts
export { default as MapNavigation } from './components/MapNavigation';
export { default as XAxis } from './components/XAxis';
export { default as YAxis } from './components/YAxis';
// Series
const parentAxisId = { axisId: 'yAxis' };
export const MapBubbleSeries = withSeriesType('MapBubble', parentAxisId);
export const MapLineSeries = withSeriesType('MapLine', parentAxisId);
export const MapPointSeries = withSeriesType('MapPoint', parentAxisId);
export const MapSeries = withSeriesType('Map', parentAxisId);