Skip to content

Commit

Permalink
Merge branch 'master' into bugfix_x_labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Jelte Lagendijk committed Dec 12, 2017
2 parents dff7281 + 0727ef4 commit 5c40145
Show file tree
Hide file tree
Showing 20 changed files with 265 additions and 147 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Mendix ChartJS widget
# 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)

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.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ChartJS",
"version": "3.6.1",
"version": "3.7.0",
"description": "This widget is a wrapper for the ChartJS library and you can use it to visualize your aggregated data.",
"license": "Apache License, Version 2",
"author": "Mendix",
Expand Down
8 changes: 8 additions & 0 deletions src/ChartJS/widgets/BarChart/BarChart.xml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,14 @@
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>
<returnType type="Void"></returnType>
</property>
<property key="base64Attr" type="attribute" required="false">
<caption>Base 64 Attribute</caption>
<category>Behavior</category>
<description>The attribute to store the base64 encoding of the chart when rendered.</description>
<attributeTypes>
<attributeType name="String"/>
</attributeTypes>
</property>
<!-- Settings -->
<property key="responsive" type="boolean" required="true" defaultValue="true">
<caption>Responsive</caption>
Expand Down
6 changes: 5 additions & 1 deletion src/ChartJS/widgets/BarChart/widget/BarChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,11 @@ define([
scaleLineWidth : this.scaleLineWidth,

//The scale line color
scaleLineColor : this.scaleLineColor
scaleLineColor : this.scaleLineColor,

animation: {
onComplete: lang.hitch(this, this._animationComplete)
}
})
};

Expand Down
Loading

0 comments on commit 5c40145

Please sign in to comment.