Skip to content

Commit 778347b

Browse files
author
Jelte Lagendijk
committed
Update test-project and add base64 attribute to missing widgets
1 parent 2c22748 commit 778347b

File tree

7 files changed

+40
-0
lines changed

7 files changed

+40
-0
lines changed

src/ChartJS/widgets/BarChart/BarChart.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,14 @@
256256
Note: This is experimental. In case of non-persistent objects this should not be necessary, and in MX 7 this is useless. Only use this if you experience memory leaks in Mendix 5</description>
257257
<returnType type="Void"></returnType>
258258
</property>
259+
<property key="base64Attr" type="attribute" required="false">
260+
<caption>Base 64 Attribute</caption>
261+
<category>Behavior</category>
262+
<description>The attribute to store the base64 encoding of the chart when rendered.</description>
263+
<attributeTypes>
264+
<attributeType name="String"/>
265+
</attributeTypes>
266+
</property>
259267
<!-- Settings -->
260268
<property key="responsive" type="boolean" required="true" defaultValue="true">
261269
<caption>Responsive</caption>

src/ChartJS/widgets/PieChart/PieChart.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,14 @@
221221
Note: This is experimental. In case of non-persistent objects this should not be necessary, and in MX 7 this is useless. Only use this if you experience memory leaks in Mendix 5</description>
222222
<returnType type="Void"></returnType>
223223
</property>
224+
<property key="base64Attr" type="attribute" required="false">
225+
<caption>Base 64 Attribute</caption>
226+
<category>Behavior</category>
227+
<description>The attribute to store the base64 encoding of the chart when rendered.</description>
228+
<attributeTypes>
229+
<attributeType name="String"/>
230+
</attributeTypes>
231+
</property>
224232
<!-- Settings -->
225233
<property key="responsive" type="boolean" required="true" defaultValue="true">
226234
<caption>Responsive</caption>

src/ChartJS/widgets/PolarChart/PolarChart.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,14 @@
211211
Note: This is experimental. In case of non-persistent objects this should not be necessary, and in MX 7 this is useless. Only use this if you experience memory leaks in Mendix 5</description>
212212
<returnType type="Void"></returnType>
213213
</property>
214+
<property key="base64Attr" type="attribute" required="false">
215+
<caption>Base 64 Attribute</caption>
216+
<category>Behavior</category>
217+
<description>The attribute to store the base64 encoding of the chart when rendered.</description>
218+
<attributeTypes>
219+
<attributeType name="String"/>
220+
</attributeTypes>
221+
</property>
214222
<!-- Settings -->
215223
<property key="responsive" type="boolean" required="true" defaultValue="true">
216224
<caption>Responsive</caption>

src/ChartJS/widgets/RadarChart/RadarChart.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,14 @@ Note: This is experimental. In case of non-persistent objects this should not be
245245
<description>Microflow to invoke when chart canvas is clicked. This Microflow will pass the Datapoint object 'Data point entity'</description>
246246
<returnType type="Void"></returnType>
247247
</property>
248+
<property key="base64Attr" type="attribute" required="false">
249+
<caption>Base 64 Attribute</caption>
250+
<category>Behavior</category>
251+
<description>The attribute to store the base64 encoding of the chart when rendered.</description>
252+
<attributeTypes>
253+
<attributeType name="String"/>
254+
</attributeTypes>
255+
</property>
248256
<!-- Settings -->
249257
<property key="responsive" type="boolean" required="true" defaultValue="true">
250258
<caption>Responsive</caption>

src/ChartJS/widgets/StackedBarChart/StackedBarChart.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,14 @@
256256
Note: This is experimental. In case of non-persistent objects this should not be necessary, and in MX 7 this is useless. Only use this if you experience memory leaks in Mendix 5</description>
257257
<returnType type="Void"></returnType>
258258
</property>
259+
<property key="base64Attr" type="attribute" required="false">
260+
<caption>Base 64 Attribute</caption>
261+
<category>Behavior</category>
262+
<description>The attribute to store the base64 encoding of the chart when rendered.</description>
263+
<attributeTypes>
264+
<attributeType name="String"/>
265+
</attributeTypes>
266+
</property>
259267
<!-- Settings -->
260268
<property key="responsive" type="boolean" required="true" defaultValue="true">
261269
<caption>Responsive</caption>

test/[Test] ChartJS.mpr

12 KB
Binary file not shown.

test/widgets/ChartJS.mpk

1.34 KB
Binary file not shown.

0 commit comments

Comments
 (0)