Commit 17ce401f authored by 卢均锐's avatar 卢均锐

fix: [12899,12907]

parent b1710c11
...@@ -27,8 +27,8 @@ const QuotationDesk: React.FC<QuotationDeskProps> = (props: any) => { ...@@ -27,8 +27,8 @@ const QuotationDesk: React.FC<QuotationDeskProps> = (props: any) => {
_obj[`${item.type}`] = item.title; _obj[`${item.type}`] = item.title;
}); });
return { return {
value: { min: 0, alias: '', type: 'linear-strict' }, value: { min: 0, alias: '' },
ear: { range: [0, 1] }, // time: { range: [0, 1] },
type: { type: {
formatter: v => { formatter: v => {
return _obj[v] return _obj[v]
...@@ -72,10 +72,10 @@ const QuotationDesk: React.FC<QuotationDeskProps> = (props: any) => { ...@@ -72,10 +72,10 @@ const QuotationDesk: React.FC<QuotationDeskProps> = (props: any) => {
> >
<Axis <Axis
title={{ text: '金额(元)' }} title={{ text: '金额(元)' }}
// visible={false} visible={true}
name='value' name='value'
// line={{ style: { stroke: "#ff0000" } }} // line={{ style: { stroke: "#ff0000" } }}
tickLine={{ style: { lineWidth: 1 }, length: 5 }} tickLine={{ style: { lineWidth: 1 } }}
/> />
<Line position="time*value" color={['type', ['#5B8FF9', '#00B37A']]} /> <Line position="time*value" color={['type', ['#5B8FF9', '#00B37A']]} />
<Point position="time*value" color={['type', ['#5B8FF9', '#00B37A']]} shape='circle' /> <Point position="time*value" color={['type', ['#5B8FF9', '#00B37A']]} shape='circle' />
...@@ -91,4 +91,4 @@ QuotationDesk.defaultProps = { ...@@ -91,4 +91,4 @@ QuotationDesk.defaultProps = {
title: '报价台' title: '报价台'
} }
export default QuotationDesk; export default QuotationDesk;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment