Skip to content

Commit

Permalink
removed comments, added docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kwongz committed Nov 21, 2024
1 parent 105f164 commit d07bf0c
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 14 deletions.
14 changes: 0 additions & 14 deletions packages/ui/core-components/src/lib/unsorted/viz/area/Area.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -147,20 +147,6 @@
symbolSize: labels && !markers ? 0 : markerSize,
step: step ? stepPosition : false
};
// data,
// x,
// y,
// series,
// swapXY,
// baseConfig,
// name,
// xMismatch, // this checks for scenarios where xType is string and xDataType is number. When this is the case, we need to inject strings into the x axis, or else it will cause echarts to think there are duplicate x-axis values (e.g., "4" and 4)
// columnSummary,
// seriesOrder,
// size = undefined,
// tooltipTitle = undefined,
// y2 = undefined,
// seriesLabelFmt = undefined
$: seriesConfig = getSeriesConfig(
data,
Expand Down
7 changes: 7 additions & 0 deletions sites/docs/pages/components/area-chart/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,13 @@ queries:
options="Excel-style format | built-in format name | custom format name"
defaultValue="-"
/>
<PropListing
name="seriesLabelFmt"
description="Format to use for series label (<a class=markdown href='/core-concepts/formatting'>see available formats<a/>)"
required=false
options="Excel-style format | built-in format name | custom format name"
defaultValue="-"
/>
<PropListing
name="step"
description="Specifies whether the chart is displayed as a step line."
Expand Down
7 changes: 7 additions & 0 deletions sites/docs/pages/components/bar-chart/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,13 @@ queries:
description="Format to use for y2 column(s) (<a class=markdown href='/core-concepts/formatting'>see available formats<a/>)"
options="Excel-style format | built-in format name | custom format name"
/>
<PropListing
name="seriesLabelFmt"
description="Format to use for series label (<a class=markdown href='/core-concepts/formatting'>see available formats<a/>)"
required=false
options="Excel-style format | built-in format name | custom format name"
defaultValue="-"
/>
<PropListing
name=fillColor
description="Color to override default series color. Only accepts a single color."
Expand Down
7 changes: 7 additions & 0 deletions sites/docs/pages/components/bubble-chart/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,13 @@ queries:
required=false
options="Excel-style format | built-in format name | custom format name"
/>
<PropListing
name="seriesLabelFmt"
description="Format to use for series label (<a class=markdown href='/core-concepts/formatting'>see available formats<a/>)"
required=false
options="Excel-style format | built-in format name | custom format name"
defaultValue="-"
/>
<PropListing
name="shape"
description="Options for which shape to use for bubble points"
Expand Down
7 changes: 7 additions & 0 deletions sites/docs/pages/components/line-chart/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,13 @@ group by all
description="Format to use for y2 column(s)"
options="Excel-style format | built-in format name | custom format name"
/>
<PropListing
name="seriesLabelFmt"
description="Format to use for series label (<a class=markdown href='/core-concepts/formatting'>see available formats<a/>)"
required=false
options="Excel-style format | built-in format name | custom format name"
defaultValue="-"
/>
<PropListing
name=step
description="Specifies whether the chart is displayed as a step line"
Expand Down
7 changes: 7 additions & 0 deletions sites/docs/pages/components/scatter-plot/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,13 @@ Format to use for x column ([see available formats](/core-concepts/formatting))
Format to use for y column ([see available formats](/core-concepts/formatting))

</PropListing>
<PropListing
name="seriesLabelFmt"
description="Format to use for series label (<a class=markdown href='/core-concepts/formatting'>see available formats<a/>)"
required=false
options="Excel-style format | built-in format name | custom format name"
defaultValue="-"
/>
<PropListing
name="shape"
options="circle | emptyCircle | rect | triangle | diamond"
Expand Down

0 comments on commit d07bf0c

Please sign in to comment.