Musson Industrial is excited to announce the release of embr-charts, an Ignition module that adds a collection of enhanced Perspective charting components.
Chart.js Component
This initial release contains a Chart.js component.
Chart.js renders chart elements on an HTML5 canvas unlike other D3.js-based charting libraries that render as SVG. Canvas rendering makes Chart.js very performant, especially for large datasets and complex visualizations that would otherwise require thousands of SVG nodes in the DOM tree.
The following video demonstrates the performance of panning and zooming through 100,000 data points:
The Chart.js component supports the following chart types:
bar
boxplot
bubble
dendrogram
doughnut
euler
forceDirectedGraph
funnel
graph
line
matrix
pcp
pie
polarArea
radar
scatter
sankey
tree
treemap
venn
violin
wordCloud
Details on how to configure the component can be found on the Chart.js documentation site.
All configurations supported by Chart.js are supported on the Perspective component.
Notable Features
CSS Custom Properties
The Perspective component supports CSS Custom Properties for all property values.
Scriptable Options
Chart.js scriptable options are supported.
Any component property value containing an arrow function () => statement will be converted into a JavaScript function that is called at render-time.
Plugin Support
Several of the most feature-rich community plugins are included.
Download
Full documentation and the latest release is available here.
Sponsorship
If you benefit from this module for commercial use, we ask you to consider sponsoring our efforts through GitHub sponsors. Your support will allow us to continue development of open-source modules and tools that benefit the entire community (plus there are some bonuses for sponsors ).
It is difficult to upgrade our environment (1-2 times a year), so that will be great and much appreciated! We have been struggling with the XY Chart consuming too much memory, so am hoping embr-charts performs better.
I've also fixed up the build/release cycle on GitHub, so that:
Patch notes reflect only the changes to a specific module or its dependent libraries.
Auto-magic version bumping and releasing powered by changesets.
I'd like to also get this published to the Third-Party Module Showcase, but the link I was given to download the module showcase project no longer works. Can someone DM me a link?
How can the "Good Units Running Total" secondary y-axis be moved to the right side of the graph? I read about the Axis Position 'right' in the Chart.js documentation, but have not found where to apply it within the Designer.
Hello, I am trying to figure out how to show the arc backgroundColor that does not account for my data:0 value.
Would like the gray backgroundColor to show for the remainder value of 100-x. I have even tried a work around by creating a second data point but property editor only allows me to add one backgroundColor per dataset.
You can apply this under options.scales[your_scale].position = right.
This property is currently missing from the designer schema, I think because it supports a bunch of different types of options that I didn't know how to model in the json schema. Probably would be best to at least just suggest the simple positional options.
You'll have to add a second data point, because of how the doughnut chart works; it graphs the relative percent's of each item in the data.
The other trick is that you can make backgroundColor an array and provide multiple colors. You won't get a cool color picker though so you'll have to provide the values yourself.