Skip to content

Commit 11306ce

Browse files
korvin89Evgeny Alaev
andauthored
feat: add point annotations for line, area, and bar-x series (#536)
Co-authored-by: Evgeny Alaev <alaev89@qavm-14443e8d.qemu>
1 parent 3c5b524 commit 11306ce

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1224
-37
lines changed
11.4 KB
Loading
8.47 KB
Loading
13.2 KB
Loading
6.83 KB
Loading
5.27 KB
Loading
5.52 KB
Loading
11.6 KB
Loading
10.2 KB
Loading
8.2 KB
Loading

src/__stories__/Area/Area.stories.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type {Meta, StoryObj} from '@storybook/react';
33
import {Chart} from '../../components';
44
import {ChartStory} from '../ChartStory';
55
import {
6+
areaAnnotationsData,
67
areaBasicData,
78
areaHtmlLabelsData,
89
areaPlaygroundData,
@@ -58,6 +59,13 @@ export const AreaSplit = {
5859
},
5960
} satisfies Story;
6061

62+
export const AreaAnnotations = {
63+
name: 'Annotations',
64+
args: {
65+
data: areaAnnotationsData,
66+
},
67+
} satisfies Story;
68+
6169
export const AreaPlayground = {
6270
name: 'Playground',
6371
args: {

0 commit comments

Comments
 (0)