Skip to content

Commit ff82eeb

Browse files
committed
chore: revert bool/number change on non-wrapped components
1 parent 7628b9d commit ff82eeb

File tree

191 files changed

+1197
-1197
lines changed

Some content is hidden

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

191 files changed

+1197
-1197
lines changed

samples/charts/category-chart/annotations-all/src/index.tsx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ export default class Sample extends React.Component<any, any> {
4949
componentRenderer={this.renderer}
5050
target={this.chart}
5151
descriptionType="CategoryChart"
52-
isHorizontal={true}
53-
isWrappingEnabled={true}>
52+
isHorizontal="true"
53+
isWrappingEnabled="true">
5454
<IgrPropertyEditorPropertyDescription
5555
propertyPath="CrosshairsDisplayMode"
5656
name="CrosshairsDisplayModeEditor"
@@ -67,14 +67,14 @@ export default class Sample extends React.Component<any, any> {
6767
propertyPath="AutoCalloutsVisible"
6868
name="CalloutsVisibleEditor"
6969
label="Callouts: "
70-
shouldOverrideDefaultEditor={true}
70+
shouldOverrideDefaultEditor="true"
7171
primitiveValue="True">
7272
</IgrPropertyEditorPropertyDescription>
7373
<IgrPropertyEditorPropertyDescription
7474
propertyPath="FinalValueAnnotationsVisible"
7575
name="FinalValueAnnotationsEditor"
7676
label="Final Value: "
77-
shouldOverrideDefaultEditor={true}
77+
shouldOverrideDefaultEditor="true"
7878
primitiveValue="True">
7979
</IgrPropertyEditorPropertyDescription>
8080
</IgrPropertyEditorPanel>
@@ -89,24 +89,24 @@ export default class Sample extends React.Component<any, any> {
8989
ref={this.chartRef}
9090
chartType="Column"
9191
computedPlotAreaMarginMode="Series"
92-
isHorizontalZoomEnabled={false}
93-
isVerticalZoomEnabled={false}
92+
isHorizontalZoomEnabled="false"
93+
isVerticalZoomEnabled="false"
9494
includedProperties={["month", "temperature"]}
9595
dataSource={this.temperatureAnnotatedData}
96-
autoCalloutsVisible={true}
97-
isCategoryHighlightingEnabled={true}
96+
autoCalloutsVisible="true"
97+
isCategoryHighlightingEnabled="true"
9898
highlightingMode="BrightenSpecific"
9999
highlightingBehavior="NearestItemsAndSeries"
100100
crosshairsDisplayMode="Both"
101-
crosshairsAnnotationYAxisPrecision={0}
101+
crosshairsAnnotationYAxisPrecision="0"
102102
crosshairsAnnotationXAxisBackground="black"
103-
finalValueAnnotationsVisible={true}
103+
finalValueAnnotationsVisible="true"
104104
finalValueAnnotationsBackground="dodgerblue"
105105
finalValueAnnotationsTextColor="white"
106-
finalValueAnnotationsPrecision={0}
107-
yAxisMaximumValue={35}
106+
finalValueAnnotationsPrecision="0"
107+
yAxisMaximumValue="35"
108108
yAxisLabelLocation="OutsideRight"
109-
isTransitionInEnabled={false}>
109+
isTransitionInEnabled="false">
110110
</IgrCategoryChart>
111111
</div>
112112
</div>

samples/charts/category-chart/annotations-callouts/src/index.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ export default class Sample extends React.Component<any, any> {
4646
componentRenderer={this.renderer}
4747
target={this.chart}
4848
descriptionType="CategoryChart"
49-
isHorizontal={true}
50-
isWrappingEnabled={true}>
49+
isHorizontal="true"
50+
isWrappingEnabled="true">
5151
<IgrPropertyEditorPropertyDescription
5252
propertyPath="AutoCalloutsVisible"
5353
name="CalloutsVisibleEditor"
5454
label="Callouts Visible"
55-
shouldOverrideDefaultEditor={true}
55+
shouldOverrideDefaultEditor="true"
5656
primitiveValue="True">
5757
</IgrPropertyEditorPropertyDescription>
5858
</IgrPropertyEditorPanel>
@@ -67,16 +67,16 @@ export default class Sample extends React.Component<any, any> {
6767
ref={this.chartRef}
6868
chartType="Column"
6969
computedPlotAreaMarginMode="Series"
70-
isHorizontalZoomEnabled={false}
71-
isVerticalZoomEnabled={false}
70+
isHorizontalZoomEnabled="false"
71+
isVerticalZoomEnabled="false"
7272
includedProperties={["month", "temperature"]}
7373
dataSource={this.temperatureAnnotatedData}
74-
autoCalloutsVisible={true}
75-
crosshairsAnnotationYAxisPrecision={0}
76-
yAxisMaximumValue={35}
74+
autoCalloutsVisible="true"
75+
crosshairsAnnotationYAxisPrecision="0"
76+
yAxisMaximumValue="35"
7777
yAxisTitle="Degrees Celsius"
7878
yAxisLabelLocation="OutsideRight"
79-
isTransitionInEnabled={false}>
79+
isTransitionInEnabled="false">
8080
</IgrCategoryChart>
8181
</div>
8282
</div>

samples/charts/category-chart/annotations-crosshairs/src/index.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ export default class Sample extends React.Component<any, any> {
4747
componentRenderer={this.renderer}
4848
target={this.chart}
4949
descriptionType="CategoryChart"
50-
isHorizontal={true}
51-
isWrappingEnabled={true}>
50+
isHorizontal="true"
51+
isWrappingEnabled="true">
5252
<IgrPropertyEditorPropertyDescription
5353
propertyPath="CrosshairsDisplayMode"
5454
name="CrosshairsDisplayModeEditor"
@@ -59,7 +59,7 @@ export default class Sample extends React.Component<any, any> {
5959
propertyPath="CrosshairsSnapToData"
6060
name="CrosshairsSnapToDataEditor"
6161
label="Crosshairs Snap to Data"
62-
shouldOverrideDefaultEditor={true}
62+
shouldOverrideDefaultEditor="true"
6363
primitiveValue="True">
6464
</IgrPropertyEditorPropertyDescription>
6565
</IgrPropertyEditorPanel>
@@ -74,21 +74,21 @@ export default class Sample extends React.Component<any, any> {
7474
ref={this.chartRef}
7575
chartType="Column"
7676
computedPlotAreaMarginMode="Series"
77-
isHorizontalZoomEnabled={false}
78-
isVerticalZoomEnabled={false}
77+
isHorizontalZoomEnabled="false"
78+
isVerticalZoomEnabled="false"
7979
includedProperties={["month", "temperature"]}
8080
dataSource={this.temperatureAnnotatedData}
8181
crosshairsDisplayMode="Both"
82-
crosshairsAnnotationYAxisPrecision={0}
82+
crosshairsAnnotationYAxisPrecision="0"
8383
crosshairsAnnotationXAxisBackground="black"
8484
crosshairsAnnotationYAxisBackground="dodgerblue"
8585
crosshairsLineHorizontalStroke="dodgerblue"
8686
crosshairsLineVerticalStroke="black"
87-
crosshairsLineThickness={2}
88-
crosshairsSnapToData={true}
89-
yAxisMaximumValue={35}
87+
crosshairsLineThickness="2"
88+
crosshairsSnapToData="true"
89+
yAxisMaximumValue="35"
9090
yAxisLabelLocation="OutsideRight"
91-
isTransitionInEnabled={false}>
91+
isTransitionInEnabled="false">
9292
</IgrCategoryChart>
9393
</div>
9494
</div>

samples/charts/category-chart/annotations-custom/src/index.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ export default class Sample extends React.Component<any, any> {
4646
componentRenderer={this.renderer}
4747
target={this.chart}
4848
descriptionType="CategoryChart"
49-
isHorizontal={true}
50-
isWrappingEnabled={true}>
49+
isHorizontal="true"
50+
isWrappingEnabled="true">
5151
<IgrPropertyEditorPropertyDescription
5252
propertyPath="CalloutsVisible"
5353
name="CalloutsVisibleEditor"
5454
label="Callouts Visible"
55-
shouldOverrideDefaultEditor={true}
55+
shouldOverrideDefaultEditor="true"
5656
primitiveValue="True">
5757
</IgrPropertyEditorPropertyDescription>
5858
</IgrPropertyEditorPanel>
@@ -67,19 +67,19 @@ export default class Sample extends React.Component<any, any> {
6767
ref={this.chartRef}
6868
chartType="Column"
6969
computedPlotAreaMarginMode="Series"
70-
isHorizontalZoomEnabled={false}
71-
isVerticalZoomEnabled={false}
70+
isHorizontalZoomEnabled="false"
71+
isVerticalZoomEnabled="false"
7272
includedProperties={["month", "temperature"]}
7373
dataSource={this.temperatureAnnotatedData}
74-
crosshairsAnnotationYAxisPrecision={0}
74+
crosshairsAnnotationYAxisPrecision="0"
7575
calloutsDataSource={this.temperatureAnnotatedData}
76-
calloutsVisible={true}
76+
calloutsVisible="true"
7777
calloutsXMemberPath="index"
7878
calloutsYMemberPath="temperature"
7979
calloutsLabelMemberPath="tempInfo"
80-
yAxisMaximumValue={35}
80+
yAxisMaximumValue="35"
8181
yAxisLabelLocation="OutsideRight"
82-
isTransitionInEnabled={false}>
82+
isTransitionInEnabled="false">
8383
</IgrCategoryChart>
8484
</div>
8585
</div>

samples/charts/category-chart/annotations-final-value/src/index.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ export default class Sample extends React.Component<any, any> {
4646
componentRenderer={this.renderer}
4747
target={this.chart}
4848
descriptionType="CategoryChart"
49-
isHorizontal={true}
50-
isWrappingEnabled={true}>
49+
isHorizontal="true"
50+
isWrappingEnabled="true">
5151
<IgrPropertyEditorPropertyDescription
5252
propertyPath="FinalValueAnnotationsVisible"
5353
name="FinalValueAnnotationsEditor"
5454
label="Final Value Visible"
55-
shouldOverrideDefaultEditor={true}
55+
shouldOverrideDefaultEditor="true"
5656
primitiveValue="True">
5757
</IgrPropertyEditorPropertyDescription>
5858
</IgrPropertyEditorPanel>
@@ -67,18 +67,18 @@ export default class Sample extends React.Component<any, any> {
6767
ref={this.chartRef}
6868
chartType="Column"
6969
computedPlotAreaMarginMode="Series"
70-
isHorizontalZoomEnabled={false}
71-
isVerticalZoomEnabled={false}
70+
isHorizontalZoomEnabled="false"
71+
isVerticalZoomEnabled="false"
7272
includedProperties={["month", "temperature"]}
7373
dataSource={this.temperatureAnnotatedData}
74-
finalValueAnnotationsVisible={true}
74+
finalValueAnnotationsVisible="true"
7575
finalValueAnnotationsBackground="dodgerblue"
7676
finalValueAnnotationsTextColor="white"
77-
finalValueAnnotationsPrecision={0}
78-
crosshairsAnnotationYAxisPrecision={0}
79-
yAxisMaximumValue={35}
77+
finalValueAnnotationsPrecision="0"
78+
crosshairsAnnotationYAxisPrecision="0"
79+
yAxisMaximumValue="35"
8080
yAxisLabelLocation="OutsideRight"
81-
isTransitionInEnabled={false}>
81+
isTransitionInEnabled="false">
8282
</IgrCategoryChart>
8383
</div>
8484
</div>

samples/charts/category-chart/annotations-highlighting/src/index.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ export default class Sample extends React.Component<any, any> {
4747
componentRenderer={this.renderer}
4848
target={this.chart}
4949
descriptionType="CategoryChart"
50-
isHorizontal={true}
51-
isWrappingEnabled={true}>
50+
isHorizontal="true"
51+
isWrappingEnabled="true">
5252
<IgrPropertyEditorPropertyDescription
5353
propertyPath="HighlightingMode"
5454
name="HighlightingModeEditor"
@@ -73,15 +73,15 @@ export default class Sample extends React.Component<any, any> {
7373
ref={this.chartRef}
7474
chartType="Column"
7575
computedPlotAreaMarginMode="Series"
76-
isHorizontalZoomEnabled={false}
77-
isVerticalZoomEnabled={false}
76+
isHorizontalZoomEnabled="false"
77+
isVerticalZoomEnabled="false"
7878
dataSource={this.temperatureAnnotatedData}
7979
highlightingMode="FadeOthersSpecific"
8080
highlightingBehavior="NearestItemsAndSeries"
81-
yAxisMaximumValue={35}
81+
yAxisMaximumValue="35"
8282
yAxisLabelLocation="OutsideRight"
8383
toolTipType="None"
84-
isTransitionInEnabled={false}>
84+
isTransitionInEnabled="false">
8585
</IgrCategoryChart>
8686
</div>
8787
</div>

samples/charts/category-chart/area-chart-multiple-sources/src/index.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ export default class Sample extends React.Component<any, any> {
5454
includedProperties={["year", "europe", "china", "america"]}
5555
legend={this.legend}
5656
yAxisTitle="TWh"
57-
yAxisTitleLeftMargin={10}
58-
yAxisTitleRightMargin={5}
59-
yAxisLabelLeftMargin={0}
60-
isHorizontalZoomEnabled={false}
61-
isVerticalZoomEnabled={false}
57+
yAxisTitleLeftMargin="10"
58+
yAxisTitleRightMargin="5"
59+
yAxisLabelLeftMargin="0"
60+
isHorizontalZoomEnabled="false"
61+
isVerticalZoomEnabled="false"
6262
computedPlotAreaMarginMode="Series">
6363
</IgrCategoryChart>
6464
</div>

samples/charts/category-chart/area-chart-single-source/src/index.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ export default class Sample extends React.Component<any, any> {
3939
includedProperties={["year", "europe"]}
4040
chartType="Area"
4141
yAxisTitle="TWh"
42-
yAxisTitleLeftMargin={10}
43-
yAxisTitleRightMargin={5}
44-
yAxisLabelLeftMargin={0}
45-
isHorizontalZoomEnabled={false}
46-
isVerticalZoomEnabled={false}
42+
yAxisTitleLeftMargin="10"
43+
yAxisTitleRightMargin="5"
44+
yAxisLabelLeftMargin="0"
45+
isHorizontalZoomEnabled="false"
46+
isVerticalZoomEnabled="false"
4747
computedPlotAreaMarginMode="Series">
4848
</IgrCategoryChart>
4949
</div>

samples/charts/category-chart/area-chart-styling/src/index.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,17 @@ export default class Sample extends React.Component<any, any> {
5353
includedProperties={["year", "europe", "china", "america"]}
5454
chartType="Area"
5555
legend={this.legend}
56-
isHorizontalZoomEnabled={false}
57-
isVerticalZoomEnabled={false}
56+
isHorizontalZoomEnabled="false"
57+
isVerticalZoomEnabled="false"
5858
markerBrushes="white"
5959
markerOutlines="rgba(140, 231, 217, 1) rgba(238, 88, 121, 1) rgba(115, 86, 86, 1)"
6060
brushes="rgba(140, 231, 217, 1) rgba(238, 88, 121, 1) rgba(115, 86, 86, 1)"
6161
outlines="rgba(140, 231, 217, 1) rgba(238, 88, 121, 1) rgba(115, 86, 86, 1)"
6262
yAxisTitle="TWh"
63-
yAxisTitleLeftMargin={10}
64-
yAxisLabelLeftMargin={0}
63+
yAxisTitleLeftMargin="10"
64+
yAxisLabelLeftMargin="0"
6565
toolTipType="Category"
66-
thickness={2}
66+
thickness="2"
6767
computedPlotAreaMarginMode="Series">
6868
</IgrCategoryChart>
6969
</div>

samples/charts/category-chart/axis-gap/src/index.tsx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,25 +47,25 @@ export default class Sample extends React.Component<any, any> {
4747
componentRenderer={this.renderer}
4848
target={this.chart}
4949
descriptionType="CategoryChart"
50-
isHorizontal={true}
51-
isWrappingEnabled={true}
50+
isHorizontal="true"
51+
isWrappingEnabled="true"
5252
ref={this.propertyEditorPanel1Ref}>
5353
<IgrPropertyEditorPropertyDescription
5454
propertyPath="XAxisGap"
5555
name="XAxisGap"
5656
label="X Axis - Gap"
57-
shouldOverrideDefaultEditor={true}
57+
shouldOverrideDefaultEditor="true"
5858
valueType="Slider"
5959
primitiveValue="0.5"
60-
min={0}
61-
max={1.5}
62-
step={0.1}>
60+
min="0"
61+
max="1.5"
62+
step="0.1">
6363
</IgrPropertyEditorPropertyDescription>
6464
<IgrPropertyEditorPropertyDescription
6565
propertyPath="XAxisMaximumGap"
6666
name="XAxisMaximumGap"
6767
label="Maximum Gap"
68-
shouldOverrideDefaultEditor={true}
68+
shouldOverrideDefaultEditor="true"
6969
valueType="EnumValue"
7070
dropDownNames={["1.5", "1.3", "1.0", "0.6", "0.5", "0.4", "0.3", "0.2", "0.1", "0"]}
7171
dropDownValues={["1.5", "1.3", "1.0", "0.6", "0.5", "0.4", "0.3", "0.2", "0.1", "0"]}
@@ -84,13 +84,13 @@ export default class Sample extends React.Component<any, any> {
8484
dataSource={this.countryRenewableElectricity}
8585
includedProperties={["year", "europe", "china", "america"]}
8686
chartType="Column"
87-
crosshairsSnapToData={true}
87+
crosshairsSnapToData="true"
8888
yAxisTitle="TWh"
89-
isHorizontalZoomEnabled={false}
90-
isVerticalZoomEnabled={false}
91-
xAxisInterval={1}
92-
xAxisGap={0.5}
93-
xAxisMaximumGap={1.5}>
89+
isHorizontalZoomEnabled="false"
90+
isVerticalZoomEnabled="false"
91+
xAxisInterval="1"
92+
xAxisGap="0.5"
93+
xAxisMaximumGap="1.5">
9494
</IgrCategoryChart>
9595
</div>
9696
</div>

0 commit comments

Comments
 (0)