import * as React from 'react' ; import { Plugin , Getter , Getters } from '@devexpress/dx-react-core' ; import { buildScales , scaleSeriesPoints } from '@devexpress/dx-chart-core' ; const getScales = ( { domains , ranges } ) => buildScales ( domains , ranges ) ; const getSeries = ( { series , scales , rotated , } ) => scaleSeriesPoints ( series , scales , rotated ) ; export class ChartCore extends React . PureComponent { render ( ) { return ( < Plugin > < Getter name = "scales" computed = { getScales } / > < Getter name = "series" computed = { getSeries } / > < /Plugin>); } }