Skip to content

Commit

Permalink
feat(Angular): Add Scatter to the Angular package, storybook and readme
Browse files Browse the repository at this point in the history
300
  • Loading branch information
stanislavgeorgiev committed Jul 10, 2019
1 parent 2aac850 commit 3f62714
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ npm install @carbon/charts --save
| Line | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark:
| Curved Line | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark:
| Pie | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark:
| Scatter | :white_check_mark: | :white_check_mark: | :white_check_mark: | :hourglass_flowing_sand:
| Step | :white_check_mark: | :hourglass_flowing_sand: | - | -
| Step | :white_check_mark: | :white_check_mark: | :white_check_mark: | :hourglass_flowing_sand:
| Scatter | :white_check_mark: | :hourglass_flowing_sand: | - | -
| Combo | :hourglass_flowing_sand: | - | - | -
| Area | Soon | - | - | - |

Expand Down
15 changes: 2 additions & 13 deletions packages/angular/stories/scatter.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { ScatterComponent } from "./scatter/scatter.component";

import { scatterData, lineOptions } from "./../../core/demo/demo-data/line";

const pieStories = storiesOf("Scatter", module);
pieStories.add("Basic", () => ({
const scatterStories = storiesOf("Scatter", module);
scatterStories.add("Basic", () => ({
component: ScatterComponent,
moduleMetadata: {
imports: [ChartsModule]
Expand All @@ -18,14 +18,3 @@ pieStories.add("Basic", () => ({
scatterOptions: lineOptions
}
}));

pieStories.add("Accessible", () => ({
component: ScatterComponent,
moduleMetadata: {
imports: [ChartsModule]
},
props: {
scatterData: scatterData,
scatterOptions: Object.assign({}, lineOptions, {accessibility: true})
}
}));

0 comments on commit 3f62714

Please sign in to comment.