Skip to content

Commit 996e3c3

Browse files
author
tfsbuild
committed
Adding changes from build igniteui-xplat-examples-output+PRs_2025.2.20.3
1 parent f8b1965 commit 996e3c3

File tree

7 files changed

+32
-3
lines changed

7 files changed

+32
-3
lines changed

samples/charts/data-pie-chart/animation/src/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ export default class Sample extends React.Component<any, any> {
2424
this.propertyEditorPanel1 = r;
2525
this.setState({});
2626
}
27+
private transitionInModeEditor: IgrPropertyEditorPropertyDescription
28+
private transitionInSpeedTypeEditor: IgrPropertyEditorPropertyDescription
2729
private chart: IgrDataPieChart
2830
private chartRef(r: IgrDataPieChart) {
2931
this.chart = r;
@@ -50,11 +52,13 @@ export default class Sample extends React.Component<any, any> {
5052
ref={this.propertyEditorPanel1Ref}>
5153
<IgrPropertyEditorPropertyDescription
5254
propertyPath="TransitionInMode"
55+
name="TransitionInModeEditor"
5356
label="Transition In Animation: "
5457
primitiveValue="Auto">
5558
</IgrPropertyEditorPropertyDescription>
5659
<IgrPropertyEditorPropertyDescription
5760
propertyPath="TransitionInSpeedType"
61+
name="TransitionInSpeedTypeEditor"
5862
label="Transition In Speed Type: "
5963
primitiveValue="Random">
6064
</IgrPropertyEditorPropertyDescription>

samples/charts/data-pie-chart/highlighting/src/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ export default class Sample extends React.Component<any, any> {
2424
this.propertyEditorPanel1 = r;
2525
this.setState({});
2626
}
27+
private highlightingModeEditor: IgrPropertyEditorPropertyDescription
28+
private highlightingBehaviorEditor: IgrPropertyEditorPropertyDescription
2729
private chart: IgrDataPieChart
2830
private chartRef(r: IgrDataPieChart) {
2931
this.chart = r;
@@ -50,11 +52,13 @@ export default class Sample extends React.Component<any, any> {
5052
ref={this.propertyEditorPanel1Ref}>
5153
<IgrPropertyEditorPropertyDescription
5254
propertyPath="HighlightingMode"
55+
name="HighlightingModeEditor"
5356
label="Highlighting Mode: "
5457
primitiveValue="BrightenSpecific">
5558
</IgrPropertyEditorPropertyDescription>
5659
<IgrPropertyEditorPropertyDescription
5760
propertyPath="HighlightingBehavior"
61+
name="HighlightingBehaviorEditor"
5862
label="Highlighting Behavior: "
5963
primitiveValue="DirectlyOver">
6064
</IgrPropertyEditorPropertyDescription>

samples/charts/data-pie-chart/others/src/index.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ export default class Sample extends React.Component<any, any> {
2424
this.propertyEditorPanel1 = r;
2525
this.setState({});
2626
}
27+
private othersCategoryTypeEditor: IgrPropertyEditorPropertyDescription
28+
private othersCategoryThresholdEditor: IgrPropertyEditorPropertyDescription
29+
private othersCategoryTextEditor: IgrPropertyEditorPropertyDescription
2730
private chart: IgrDataPieChart
2831
private chartRef(r: IgrDataPieChart) {
2932
this.chart = r;
@@ -50,12 +53,14 @@ export default class Sample extends React.Component<any, any> {
5053
ref={this.propertyEditorPanel1Ref}>
5154
<IgrPropertyEditorPropertyDescription
5255
propertyPath="OthersCategoryType"
56+
name="OthersCategoryTypeEditor"
5357
label="Others Type: "
5458
primitiveValue="Number"
5559
valueType="EnumValue">
5660
</IgrPropertyEditorPropertyDescription>
5761
<IgrPropertyEditorPropertyDescription
5862
propertyPath="OthersCategoryThreshold"
63+
name="OthersCategoryThresholdEditor"
5964
label="Others Threshold: "
6065
valueType="Slider"
6166
min="0"
@@ -64,6 +69,7 @@ export default class Sample extends React.Component<any, any> {
6469
</IgrPropertyEditorPropertyDescription>
6570
<IgrPropertyEditorPropertyDescription
6671
propertyPath="OthersCategoryText"
72+
name="OthersCategoryTextEditor"
6773
label="Others Text: "
6874
valueType="StringValue">
6975
</IgrPropertyEditorPropertyDescription>

samples/charts/data-pie-chart/selection/src/index.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ export default class Sample extends React.Component<any, any> {
2424
this.propertyEditorPanel1 = r;
2525
this.setState({});
2626
}
27-
private selectionBehavior: IgrPropertyEditorPropertyDescription
27+
private selectionBehaviorEditor: IgrPropertyEditorPropertyDescription
28+
private selectionModeEditor: IgrPropertyEditorPropertyDescription
2829
private chart: IgrDataPieChart
2930
private chartRef(r: IgrDataPieChart) {
3031
this.chart = r;
@@ -53,14 +54,15 @@ export default class Sample extends React.Component<any, any> {
5354
label="Selection Behavior: "
5455
valueType="EnumValue"
5556
propertyPath="SelectionBehavior"
56-
name="SelectionBehavior"
57+
name="SelectionBehaviorEditor"
5758
shouldOverrideDefaultEditor="true"
5859
dropDownNames={["PerDataItemSingleSelect", "PerDataItemMultiSelect"]}
5960
dropDownValues={["PerDataItemSingleSelect", "PerDataItemMultiSelect"]}
6061
primitiveValue="PerDataItemSingleSelect">
6162
</IgrPropertyEditorPropertyDescription>
6263
<IgrPropertyEditorPropertyDescription
6364
propertyPath="SelectionMode"
65+
name="SelectionModeEditor"
6466
label="Selection Mode: "
6567
primitiveValue="Brighten">
6668
</IgrPropertyEditorPropertyDescription>

samples/charts/toolbar/actions-built-in-category-chart/src/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import './index.css';
44

55
import { IgrLegendModule, IgrCategoryChartModule, IgrCategoryChartToolbarModule } from 'igniteui-react-charts';
66
import { IgrToolbarModule } from 'igniteui-react-layouts';
7+
import { IgrCheckboxListModule } from 'igniteui-react-grids';
78
import { IgrLegend, IgrCategoryChart } from 'igniteui-react-charts';
89
import { IgrToolbar } from 'igniteui-react-layouts';
910
import { CountryRenewableElectricityItem, CountryRenewableElectricity } from './CountryRenewableElectricity';
@@ -12,7 +13,8 @@ const mods: any[] = [
1213
IgrLegendModule,
1314
IgrToolbarModule,
1415
IgrCategoryChartModule,
15-
IgrCategoryChartToolbarModule
16+
IgrCategoryChartToolbarModule,
17+
IgrCheckboxListModule
1618
];
1719
mods.forEach((m) => m.register());
1820

samples/charts/toolbar/custom-tool/src/index.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export default class Sample extends React.Component<any, any> {
2929
this.setState({});
3030
}
3131
private customIconName: IgrToolActionLabel
32+
private customIconName2: IgrToolActionLabel
3233
private chart: IgrCategoryChart
3334
private chartRef(r: IgrCategoryChart) {
3435
this.chart = r;
@@ -67,6 +68,12 @@ export default class Sample extends React.Component<any, any> {
6768
iconCollectionName="CustomCollection"
6869
name="CustomIconName">
6970
</IgrToolActionLabel>
71+
<IgrToolActionLabel
72+
title="Custom Icon 2"
73+
iconName="CustomIcon2"
74+
iconCollectionName="CustomCollection2"
75+
name="CustomIconName2">
76+
</IgrToolActionLabel>
7077
</IgrToolbar>
7178
</div>
7279
</div>
@@ -117,6 +124,8 @@ export default class Sample extends React.Component<any, any> {
117124
const icon = '<svg width="28px" height="28px" stroke="none" viewBox="0 0 3.5 3.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--gis" preserveAspectRatio="xMidYMid meet"><path d="M0.436 0.178a0.073 0.073 0 0 0 -0.062 0.036L0.01 0.846a0.073 0.073 0 0 0 0.063 0.109h0.729a0.073 0.073 0 0 0 0.063 -0.109L0.501 0.214a0.073 0.073 0 0 0 -0.064 -0.036zm0.001 0.219 0.238 0.413H0.199zM1.4 0.507v0.245h0.525v-0.245zm0.77 0v0.245h1.33v-0.245zM0.073 1.388A0.073 0.073 0 0 0 0 1.461v0.583a0.073 0.073 0 0 0 0.073 0.073h0.729A0.073 0.073 0 0 0 0.875 2.045V1.461a0.073 0.073 0 0 0 -0.073 -0.073zm0.073 0.146h0.583v0.438H0.146zM1.4 1.674v0.245h0.945v-0.245zm1.19 0v0.245h0.91v-0.245zM0.438 2.447c-0.241 0 -0.438 0.197 -0.438 0.438 0 0.241 0.197 0.438 0.438 0.438s0.438 -0.197 0.438 -0.438c0 -0.241 -0.197 -0.438 -0.438 -0.438zm0 0.146a0.291 0.291 0 0 1 0.292 0.292 0.291 0.291 0 0 1 -0.292 0.292 0.291 0.291 0 0 1 -0.292 -0.292A0.291 0.291 0 0 1 0.438 2.593zM1.4 2.842v0.245h0.525v-0.245zm0.77 0v0.245h1.33v-0.245z" fill="#000000" fill-rule="evenodd"/></svg>';
118125
toolbar.registerIconFromText("CustomCollection", "CustomIcon", icon);
119126

127+
toolbar.registerIconFromDataURL("CustomCollection2", "CustomIcon2", "https://www.svgrepo.com/show/678/calculator.svg");
128+
120129
}
121130

122131
}

samples/charts/toolbar/theming/src/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export default class Sample extends React.Component<any, any> {
3030
this.propertyEditorPanel1 = r;
3131
this.setState({});
3232
}
33+
private baseThemeEditor: IgrPropertyEditorPropertyDescription
3334
private toolbar: IgrToolbar
3435
private toolbarRef(r: IgrToolbar) {
3536
this.toolbar = r;
@@ -65,6 +66,7 @@ export default class Sample extends React.Component<any, any> {
6566
ref={this.propertyEditorPanel1Ref}>
6667
<IgrPropertyEditorPropertyDescription
6768
propertyPath="BaseTheme"
69+
name="BaseThemeEditor"
6870
label="Theme"
6971
shouldOverrideDefaultEditor="true"
7072
valueType="EnumValue"

0 commit comments

Comments
 (0)