Skip to content

Changes from igniteui-xplat-examples-output+PRs_2024.12.18.1 #912

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@
<igc-numeric-y-axis
name="yAxis"
id="yAxis"
is-logarithmic="true"
logarithm-base="10"
title="Public Debt per GDP">
title="Public Debt per GDP (%)"
title-left-margin="5"
is-logarithmic="false"
maximum-value="120">
</igc-numeric-y-axis>
<igc-bubble-series
name="bubbleSeries1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export class Sample {
var valueBrushScale1 = new IgcValueBrushScaleComponent();
valueBrushScale1.isLogarithmic = false;
valueBrushScale1.minimumValue = 0;
valueBrushScale1.maximumValue = 100000;
valueBrushScale1.brushes = ["rgba(26, 161, 226, 1)", "rgba(24, 154, 217, 1)", "rgba(22, 146, 206, 1)", "rgba(19, 133, 188, 1)", "rgba(15, 121, 171, 1)", "rgba(12, 107, 153, 1)", "rgba(9, 94, 136, 1)", "rgba(5, 82, 119, 1)", "rgba(2, 70, 105, 1)", "rgba(0, 63, 94, 1)"];
valueBrushScale1.maximumValue = 260000;
valueBrushScale1.brushes = ["rgba(137, 181, 250, 1)", "rgba(20, 108, 247, 1)", "rgba(82, 144, 242, 1)"];

this._valueBrushScale1 = valueBrushScale1;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,21 @@
<igc-numeric-y-axis
name="yAxis"
id="yAxis"
title="GDP per Capita"
is-logarithmic="true"
abbreviate-large-numbers="true">
title="Public Debt per GDP (%)"
title-left-margin="5"
is-logarithmic="false"
maximum-value="120">
</igc-numeric-y-axis>
<igc-bubble-series
name="bubbleSeries1"
id="bubbleSeries1"
title="African Countries"
x-member-path="population"
y-member-path="gDP"
radius-member-path="population"
y-member-path="publicDebt"
radius-member-path="gdpPerPerson"
x-member-as-legend-label="Population"
y-member-as-legend-label="Debt"
radius-member-as-legend-label="GDP"
marker-type="Circle"
show-default-tooltip="true">
</igc-bubble-series>
Expand All @@ -63,8 +67,11 @@
id="bubbleSeries2"
title="European Countries"
x-member-path="population"
y-member-path="gDP"
radius-member-path="population"
y-member-path="publicDebt"
radius-member-path="gdpPerPerson"
x-member-as-legend-label="Population"
y-member-as-legend-label="Debt"
radius-member-as-legend-label="GDP"
marker-type="Circle"
show-default-tooltip="true">
</igc-bubble-series>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
<igc-numeric-y-axis
name="yAxis"
id="yAxis"
title="Public Debt"
title="Public Debt per GDP (%)"
title-left-margin="5"
is-logarithmic="false"
abbreviate-large-numbers="true"
maximum-value="120">
</igc-numeric-y-axis>
<igc-bubble-series
Expand All @@ -48,6 +48,9 @@
y-member-path="publicDebt"
radius-member-path="gdpPerPerson"
fill-member-path="gdpPerPerson"
x-member-as-legend-label="Population"
y-member-as-legend-label="Debt"
radius-member-as-legend-label="GDP"
marker-type="Circle"
show-default-tooltip="true">
</igc-bubble-series>
Expand Down
38 changes: 29 additions & 9 deletions samples/charts/data-chart/scatter-bubble-chart-styling/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
name="yAxis"
id="yAxis"
title="GDP per Capita"
title-left-margin="5"
is-logarithmic="true"
abbreviate-large-numbers="true">
</igc-numeric-y-axis>
Expand All @@ -54,12 +55,15 @@
title="African Countries"
x-member-path="population"
y-member-path="gDP"
radius-member-path="population"
radius-member-path="workedHours"
x-member-as-legend-label="Population"
y-member-as-legend-label="GDP"
radius-member-as-legend-label="Worked Hours"
marker-type="Circle"
marker-outline="rgba(62, 202, 62, 1)"
marker-brush="rgba(69, 179, 224, 1)"
marker-outline="rgba(2, 158, 30, 1)"
marker-brush="rgba(2, 158, 30, 1)"
marker-fill-opacity="0.5"
marker-thickness="2"
marker-thickness="1"
show-default-tooltip="true">
</igc-bubble-series>
<igc-bubble-series
Expand All @@ -68,17 +72,33 @@
title="European Countries"
x-member-path="population"
y-member-path="gDP"
radius-member-path="population"
radius-member-path="workedHours"
x-member-as-legend-label="Population"
y-member-as-legend-label="GDP"
radius-member-as-legend-label="Worked Hours"
marker-type="Circle"
marker-outline="rgba(171, 6, 221, 1)"
marker-brush="rgba(135, 156, 235, 1)"
marker-outline="rgba(95, 2, 171, 1)"
marker-brush="rgba(95, 2, 171, 1)"
marker-fill-opacity="0.5"
marker-thickness="2"
marker-thickness="1"
show-default-tooltip="true">
</igc-bubble-series>
<igc-data-tool-tip-layer
name="dataToolTipLayer"
id="dataToolTipLayer">
id="dataToolTipLayer"
value-row-margin-top="1"
label-text-margin-top="1"
title-text-margin-top="1"
units-text-margin-top="1"
value-row-margin-bottom="1"
label-text-margin-bottom="1"
title-text-margin-bottom="1"
units-text-margin-bottom="1"
units-text-margin-right="5"
value-text-margin-left="10"
label-text-margin-left="5"
grouping-mode="Grouped"
layout-mode="Vertical">
</igc-data-tool-tip-layer>
</igc-data-chart>
</div>
Expand Down
Loading