Skip to content

Commit

Permalink
feat: 增加示例中的引用
Browse files Browse the repository at this point in the history
  • Loading branch information
luhuihua committed Jan 19, 2024
1 parent 5b336e8 commit 5853b55
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions stories/feat.legend.stories.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
import React, { useEffect, useRef } from 'react';
import React, { useEffect, useRef, useState } from 'react';

import { storiesOf } from '@storybook/react';
import { withKnobs, radios } from '@storybook/addon-knobs';

import { Wcontainer, Wline, Wlinebar, Wpie, Wbar } from '@alicloud/cloud-charts';
import {
Wcontainer,
Wline,
Wlinebar,
Wpie,
Wbar,
WmultiPie,
ChartProvider,
} from '@alicloud/cloud-charts';

const data = [
{
Expand Down Expand Up @@ -674,7 +682,7 @@ stories.add('列表型legend(国际化)', () => {
data={lineData}
config={{
legend: {
visible: false,
// visible: false,
// position: 'right',
table: {
statistics: ['min', 'max', 'avg'],
Expand Down

0 comments on commit 5853b55

Please sign in to comment.