Skip to content

Commit a737622

Browse files
author
Jelte Lagendijk
committed
Cleanup whitespace
1 parent 7e35095 commit a737622

9 files changed

Lines changed: 186 additions & 186 deletions

File tree

src/ChartJS/widgets/BarChart/BarChart.xml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@
3535
<property key="height" type="integer" required="true" defaultValue="250">
3636
<caption>Height</caption>
3737
<category>Appearance</category>
38-
<description>Initial height of the chart canvas, will be ignored when responsive property is set to 'Yes'</description>
38+
<description>Initial height of the chart canvas, will be ignored when responsive property is set to 'Yes'</description>
3939
</property>
4040
<property key="responsiveRatio" type="integer" required="true" defaultValue="0">
4141
<caption>Responsive w/h ratio (%)</caption>
4242
<category>Appearance</category>
43-
<description>Responsive is set to 'true': Responsive width height ratio default value is 0, which means it will set the height of the chart the same height as the container. If you set this value to a certain number, it will create a chart where the height is a percentage of the width. So 100 means the height will be 100% of the width (a square)</description>
43+
<description>Responsive is set to 'true': Responsive width height ratio default value is 0, which means it will set the height of the chart the same height as the container. If you set this value to a certain number, it will create a chart where the height is a percentage of the width. So 100 means the height will be 100% of the width (a square)</description>
4444
</property>
4545
<property key="labelFont" type="string" required="true" defaultValue="Helvetica Neue">
4646
<caption>Font</caption>
@@ -113,8 +113,8 @@
113113
<description>Microflow returning a 'Chart Entity' object.</description>
114114
<returnType type="Object" entityProperty="sourceentity"></returnType>
115115
</property>
116-
<!--Placeholder-->
117-
<!--<property key="sourceTrigger" type="attribute" entityProperty="sourceentity" allowNonPersistableEntities="true" required="false">
116+
<!--Placeholder-->
117+
<!--<property key="sourceTrigger" type="attribute" entityProperty="sourceentity" allowNonPersistableEntities="true" required="false">
118118
<caption>Attribute to trigger</caption>
119119
<category>Data Set</category>
120120
<description>Attribute to trigger the microflow.</description>
@@ -157,23 +157,23 @@
157157
<category>Data Set</category>
158158
<description>Initial bar color</description>
159159
<attributeTypes>
160-
<attributeType name="Enum"/>
161-
<attributeType name="String"/>
160+
<attributeType name="Enum"/>
161+
<attributeType name="String"/>
162162
</attributeTypes>
163163
</property>
164164
<property key="serieshighlightcolor" type="attribute" entityProperty="datasetentity" allowNonPersistableEntities="true" required="false">
165165
<caption>Highlight Color (in Hex)</caption>
166166
<category>Data Set</category>
167167
<description>Color while hovering over bar.</description>
168168
<attributeTypes>
169-
<attributeType name="Enum"/>
170-
<attributeType name="String"/>
169+
<attributeType name="Enum"/>
170+
<attributeType name="String"/>
171171
</attributeTypes>
172172
</property>
173173
<property key="seriesColorReduceOpacity" type="boolean" required="true" defaultValue="true">
174174
<caption>Reduce opacity</caption>
175175
<category>Data Set</category>
176-
<description>Adds transparency to the fill color(opacity:0.5) and highlight color(opacity:0.75)</description>
176+
<description>Adds transparency to the fill color(opacity:0.5) and highlight color(opacity:0.75)</description>
177177
</property>
178178
<!-- Data Point -->
179179
<property key="datapointentity" type="entity" required="true" allowNonPersistableEntities="true" entityProperty="datasetentity" isPath="yes" pathType="referenceSet">
@@ -257,7 +257,7 @@
257257
<property key="scaleBeginAtZero" type="boolean" required="true" defaultValue="true">
258258
<caption>Begin at zero</caption>
259259
<category>Settings</category>
260-
<description>Whether the scale should start at zero, or an order of magnitude down from the lowest value</description>
260+
<description>Whether the scale should start at zero, or an order of magnitude down from the lowest value</description>
261261
</property>
262262
<property key="scaleShow" type="boolean" required="true" defaultValue="true">
263263
<caption>Show scales</caption>
@@ -314,15 +314,15 @@
314314
<category>Settings</category>
315315
<description>Whether to show the labels on the X-axis scale.</description>
316316
</property>
317-
<property key="scaleShowLabels" type="boolean" required="true" defaultValue="true">
318-
<caption>Show labels Y-axis</caption>
319-
<category>Settings</category>
320-
<description>Whether to show labels on the y-axis scale.</description>
321-
</property>
317+
<property key="scaleShowLabels" type="boolean" required="true" defaultValue="true">
318+
<caption>Show labels Y-axis</caption>
319+
<category>Settings</category>
320+
<description>Whether to show labels on the y-axis scale.</description>
321+
</property>
322322
<property key="showTooltips" type="boolean" required="true" defaultValue="true">
323323
<caption>Show tooltip</caption>
324324
<category>Settings</category>
325-
<description>Determines whether to draw tooltips on the canvas or not.</description>
325+
<description>Determines whether to draw tooltips on the canvas or not.</description>
326326
</property>
327327
<!--<property key="tooltipForm" type="form" required="false">
328328
<caption>Tooltip form</caption>
@@ -332,7 +332,7 @@
332332
<property key="maintainAspectRatio" type="boolean" required="true" defaultValue="true">
333333
<caption>Maintain aspect ratio</caption>
334334
<category>Settings</category>
335-
<description>Whether to maintain the starting aspect ratio or not when responsive, if set to false, will take up entire container</description>
335+
<description>Whether to maintain the starting aspect ratio or not when responsive, if set to false, will take up entire container</description>
336336
</property>
337337
<!-- Bar chart settings -->
338338
<property key="barShowStroke" type="boolean" required="true" defaultValue="true">

src/ChartJS/widgets/Core.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -614,9 +614,9 @@ define([
614614
maintainAspectRatio : this.maintainAspectRatio,
615615
showTooltips : this.showTooltips,
616616
animation: this.chartAnimation ? ({
617-
duration: this.chartAnimation ? this.animationDuration : 0,
618-
easing: this.animationEasing
619-
}) : false
617+
duration: this.chartAnimation ? this.animationDuration : 0,
618+
easing: this.animationEasing
619+
}) : false
620620
};
621621

622622
return lang.mixin(lang.clone(defaultOptions), options);

src/ChartJS/widgets/DoughnutChart/DoughnutChart.xml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
<property key="width" type="integer" required="true" defaultValue="500">
1111
<caption>Width</caption>
1212
<category>Appearance</category>
13-
<description>Initial width of the chart canvas, will be ignored when responsive property is set to 'Yes'</description>
13+
<description>Initial width of the chart canvas, will be ignored when responsive property is set to 'Yes'</description>
1414
</property>
1515
<property key="height" type="integer" required="true" defaultValue="250">
1616
<caption>Height</caption>
1717
<category>Appearance</category>
18-
<description>Initial height of the chart canvas, will be ignored when responsive property is set to 'Yes'</description>
18+
<description>Initial height of the chart canvas, will be ignored when responsive property is set to 'Yes'</description>
1919
</property>
2020
<property key="responsiveRatio" type="integer" required="true" defaultValue="0">
2121
<caption>Responsive w/h ratio (%)</caption>
@@ -100,25 +100,25 @@
100100
<property key="sourceentity" type="entity" required="true" allowNonPersistableEntities="true">
101101
<caption>Chart Entity</caption>
102102
<category>Data Source</category>
103-
<description>Container entity, referencing DataSet entity objects.</description>
103+
<description>Container entity, referencing DataSet entity objects.</description>
104104
</property>
105105
<property key="datasourcemf" type="microflow" required="false">
106106
<caption>Microflow</caption>
107107
<category>Data Source</category>
108-
<description>Microflow returning a 'Chart Entity' object.</description>
108+
<description>Microflow returning a 'Chart Entity' object.</description>
109109
<returnType type="Object" entityProperty="sourceentity"></returnType>
110110
</property>
111-
<property key="numberInside" type="attribute" entityProperty="sourceentity" required="false">
112-
<caption>Total value</caption>
113-
<category>Data Source</category>
114-
<description>Optional: attribute containing a total value </description>
115-
<attributeTypes>
116-
<attributeType name="String"/>
117-
<attributeType name="Integer"/>
118-
<attributeType name="Float"/>
111+
<property key="numberInside" type="attribute" entityProperty="sourceentity" required="false">
112+
<caption>Total value</caption>
113+
<category>Data Source</category>
114+
<description>Optional: attribute containing a total value </description>
115+
<attributeTypes>
116+
<attributeType name="String"/>
117+
<attributeType name="Integer"/>
118+
<attributeType name="Float"/>
119119
<attributeType name="Decimal"/>
120-
</attributeTypes>
121-
</property>
120+
</attributeTypes>
121+
</property>
122122
<!--<property key="sourceTrigger" type="attribute" entityProperty="sourceentity" allowNonPersistableEntities="true" required="false">
123123
<caption>Attribute to trigger</caption>
124124
<category>Data Set</category>
@@ -132,13 +132,13 @@
132132
<property key="datasetentity" type="entity" required="true" allowNonPersistableEntities="true" entityProperty="sourceentity" isPath="yes" pathType="referenceSet">
133133
<caption>Data Set Entity</caption>
134134
<category>Data Set</category>
135-
<description>Entity, containing value representing a doughnut part</description>
135+
<description>Entity, containing value representing a doughnut part</description>
136136
</property>
137137

138138
<property key="datasetlabel" type="attribute" entityProperty="datasetentity" allowNonPersistableEntities="true" required="true">
139139
<caption>Data Set label</caption>
140140
<category>Data Set</category>
141-
<description>Label, displayed in legend</description>
141+
<description>Label, displayed in legend</description>
142142
<attributeTypes>
143143
<attributeType name="Enum"/>
144144
<attributeType name="String"/>
@@ -147,7 +147,7 @@
147147
<property key="datasetsorting" type="attribute" entityProperty="datasetentity" allowNonPersistableEntities="true" required="true">
148148
<caption>Sorting</caption>
149149
<category>Data Set</category>
150-
<description>Attribute used for sorting dataset objects</description>
150+
<description>Attribute used for sorting dataset objects</description>
151151
<attributeTypes>
152152
<attributeType name="AutoNumber"/>
153153
<attributeType name="Currency"/>
@@ -172,16 +172,16 @@
172172
<category>Data Set</category>
173173
<description>Set the highlight color of the doughnut part.</description>
174174
<attributeTypes>
175-
<attributeType name="Enum"/>
176-
<attributeType name="String"/>
177-
</attributeTypes>
178-
</property>
179-
<property key="seriesColorReduceOpacity" type="boolean" required="true" defaultValue="true">
180-
<caption>Reduce opacity</caption>
181-
<category>Data Set</category>
182-
<description>Adds transparency to the fill color(opacity:0.5) and highlight color(opacity:0.75)</description>
183-
</property>
184-
<property key="seriesylabel" type="attribute" entityProperty="datasetentity" allowNonPersistableEntities="true" required="true">
175+
<attributeType name="Enum"/>
176+
<attributeType name="String"/>
177+
</attributeTypes>
178+
</property>
179+
<property key="seriesColorReduceOpacity" type="boolean" required="true" defaultValue="true">
180+
<caption>Reduce opacity</caption>
181+
<category>Data Set</category>
182+
<description>Adds transparency to the fill color(opacity:0.5) and highlight color(opacity:0.75)</description>
183+
</property>
184+
<property key="seriesylabel" type="attribute" entityProperty="datasetentity" allowNonPersistableEntities="true" required="true">
185185
<caption>Value</caption>
186186
<category>Data Set</category>
187187
<description>Doughnut part value</description>
@@ -202,7 +202,7 @@
202202
<property key="onclickmf" type="microflow" required="false">
203203
<caption>On Click Microflow</caption>
204204
<category>Behavior</category>
205-
<description>Microflow to invoke when chart canvas is clicked</description>
205+
<description>Microflow to invoke when chart canvas is clicked</description>
206206
<returnType type="Void"></returnType>
207207
</property>
208208
<property key="onclickDataSetMf" type="microflow" required="false" entityProperty="datasetentity">
@@ -215,7 +215,7 @@
215215
<property key="responsive" type="boolean" required="true" defaultValue="true">
216216
<caption>Responsive</caption>
217217
<category>Appearance</category>
218-
<description>Chart canvas dimensions respond to changes in layout</description>
218+
<description>Chart canvas dimensions respond to changes in layout</description>
219219
</property>
220220
<property key="segmentShowStroke" type="boolean" required="true" defaultValue="true">
221221
<caption>Segment Show Stroke</caption>
@@ -245,7 +245,7 @@
245245
<property key="showTooltips" type="boolean" required="true" defaultValue="false">
246246
<caption>Show tooltip</caption>
247247
<category>Settings</category>
248-
<description>Determines whether to draw tooltips on the canvas or not.</description>
248+
<description>Determines whether to draw tooltips on the canvas or not.</description>
249249
</property>
250250
<!--<property key="tooltipForm" type="form" required="false">
251251
<caption>Tooltip form</caption>

0 commit comments

Comments
 (0)