import React from 'react';
import {Liquid,Donut,Gauge,Column,StateManager, Pie} from '@antv/g2plot';
import utils from '@utils';
import requestFilter from 'Services/requestFilter';
import { Modal } from '@components';
import TimeLine from '../common/chart/line/timeLine';
import { Button } from 'antd';
import React from 'react'; import {Liquid,Donut,Gauge,Column,StateManager, Pie} from '@antv/g2plot'; import utils from '@utils'; import requestFilter from 'Services/requestFilter'; import { Modal } from '@components'; import TimeLine from '../common/chart/line/timeLine'; import { Button } from 'antd';
class UsDeployChart extends React.Component {
constructor(props) { super(props); this.state = { data:null }; }
}
getData = async ( loadingOption) => { try { console.info('us deploy getData..'); var url=this.props.url; var metricId=this.props.metricId; var valueMul=this.props.valueMul; var step=this.props.step; var typeField=this.props.typeField; var valueField=this.props.valueField; const result = await utils.ajax( requestFilter({ url: url, ...loadingOption, method: 'post', data: { metricId, valueMul, step, typeField, valueField, operId:'getData'+Date.now() }, loading: true, errorPop: true, errorAutoClose: false }) );
};
}
}
export default UsDeployChart;