Simple Charts widget - cannot import to project

When I try to import the new version of Simple Charts to my project, I get this error: Package 'D:\Mendix5\eServiceSuite\widgets\SimpleChart.mpk': Could not read XML file 'SimpleChart/SimpleChart.xml'. System.InvalidOperationException: There is an error in XML document (36, 54). ---> System.Xml.XmlException: Unexpected node type Comment. ReadElementString method can only be called on elements with simple or empty content. Line 36, position 54. at System.Xml.XmlReader.ReadElementString() at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderWidgetXml.Read9PropertyXml(Boolean isNullable, Boolean checkType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderWidgetXml.Read10PropertiesXml(Boolean isNullable, Boolean checkType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderWidgetXml.Read11WidgetXml(Boolean isNullable, Boolean checkType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderWidgetXml.Read12widget() --- End of inner exception stack trace --- at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream) at Mendix.Modeler.Packages.PackageImporter.ReadXmlFileTRoot in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Mendix.Modeler.Core\Packages\PackageImporter.cs:line 101 Removing the comment embedded in that line and rezipping the widget seems to solve the issue. Highcharts option removed It looks like the Highcharts option under Chart Implementation has been removed (Leaving only FLOT). There is no mention of this in the release notes, in fact it says the Highcharts option has been fixed. Restoring the Highcharts option in the SimpleChart/SimpleChart.xml file results in an error when trying to use Highcharts: "SimpleChart error: Error while rendering serie 0: TypeError: f is undefined". Strangely enough, I have a page which contains 3 bar charts set to use Highcharts. The first 2 give this error, but the third one renders correctly. The first 2 contain a single data series, the one that renders correctly has 2 data series. Support for widgets Where is the best place to report issues and get support for widgets? From postings on the forum, I understand that many widgets are now maintained on GitHub, and that several people are working independently on this particular widget. Should issues be reported on the GitHub site, the Mendix support site, or this forum? I logged an issue about the SimpleChart widget on the Support site in August (Ticket 102913) reporting problems with drilldown microflows not being triggered, series labels showing as Undefined, some charts not rendering etc. The ticket was closed out by support who stated that they needed a separate ticket for each issue. This seemed wrong to me as these are all symptoms of the single widget not working. Fixing one of the issues only would still result in a broken widget. One bugbear with support is that often they close a ticket completely, and there is no way for the requester to reopen it (I know this functionality does exist as sometimes I get this option). You are asked to give feedback on the ticket, but if you add a note to one of these 'closed' tickets it seems to be ignored - do support staff get notified if there are notes added to 'closed' tickets, or do they just ignore it because they have already set the ticket to closed?
2 answers

Hi David,

You are correct, that comment should not be there. I'll try to get a fixed version out somewhere today.

We disabled HighCharts because it is giving a lot of issues, which we weren't able to fix on the short-term.

In regard to support on widgets; we encourage you to post your issues on the respective GitHub repository of the widget. This enables anyone in the community to jump in and fix the issue.

For more pressing high, critical or blocking issues, I would still create a support ticket. You could reference the GitHub issue in there as well.

In case anyone was still left wondering:

EDIT: The new 3.1.1 version is now available on the App Store.


Hi David,

I fixed a lot of highcharts issues. Will put it on Github soon.. Maybe it's an idea to seperate into two widgets, one for highcharts, one for flot.

Update: download the fixed widget (for highcharts) here.. I'll try to merge my changes to the simplechart mainline or split the widgets so that's is dedicated for high charts. @Mx: any ideas / advise here?