Skip to content

Commit 5c40145

Browse files
author
Jelte Lagendijk
committed
Merge branch 'master' into bugfix_x_labels
2 parents dff7281 + 0727ef4 commit 5c40145

File tree

20 files changed

+265
-147
lines changed

20 files changed

+265
-147
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Mendix ChartJS widget
1+
# Mendix ChartJS widget [![Support](https://img.shields.io/badge/Mendix%20Support%3A-Platform-green.svg)](https://docs.mendix.com/community/app-store/app-store-content-support)
22

33
This [widget](https://appstore.home.mendix.com/link/app/1712/Mendix/ChartJS-Widget) is a wrapper for the [ChartJS library](http://www.chartjs.org/) and you can use it to visualize your aggregated data.
44

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ChartJS",
3-
"version": "3.6.1",
3+
"version": "3.7.0",
44
"description": "This widget is a wrapper for the ChartJS library and you can use it to visualize your aggregated data.",
55
"license": "Apache License, Version 2",
66
"author": "Mendix",

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/BarChart/widget/BarChart.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,11 @@ define([
165165
scaleLineWidth : this.scaleLineWidth,
166166

167167
//The scale line color
168-
scaleLineColor : this.scaleLineColor
168+
scaleLineColor : this.scaleLineColor,
169+
170+
animation: {
171+
onComplete: lang.hitch(this, this._animationComplete)
172+
}
169173
})
170174
};
171175

0 commit comments

Comments
 (0)