Skip to content

Commit

Permalink
fix: legend 示例
Browse files Browse the repository at this point in the history
  • Loading branch information
buli committed Nov 19, 2021
1 parent 21b16e2 commit 1e8dcde
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/site/examples/line/multiple/demo/series.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { jsx, Canvas, Chart, Line, Axis, Legend, Tooltip } from '@antv/f2';
import { jsx, Canvas, Chart, Line, Axis, Legend } from '@antv/f2';
import _ from 'lodash';

fetch('https://gw.alipayobjects.com/os/antfincdn/OVMtvjbnut/series-line.json')
Expand All @@ -17,7 +17,6 @@ fetch('https://gw.alipayobjects.com/os/antfincdn/OVMtvjbnut/series-line.json')
/>
<Axis field="value" tickCount={5} />
<Line x="date" y="value" lineWidth="4px" color="type" />
<Tooltip showCrosshairs snap />
<Legend
position="top"
style={{
Expand Down

0 comments on commit 1e8dcde

Please sign in to comment.