More Complex Charts
I am looking to add more complex charts to my widgets. I have seen references and questions about adding HighCharts or adding a chart js package (https://github.com/kurkle/chartjs-chart-sankey). Nothing I have tried works. Is there an article or something to guide me how to do this. I can't find anything online that helps
6 Replies
complex charts.. could you explain it?
I am looking for either a Sankey chart or a drill down pie/donut chart
these are not options on basic chart js
If you're looking for a solution that works out of the box, you might want to go with the Apex Charts plugin (https://filamentphp.com/plugins/leandrocfe-apex-charts). It doesn't have Sankey out of the box IIRC, but a drill down pie/donut chart should be kind of possible if you start changing around the labels. You can also look at the source code of the plugin to try and implement ApexSankey.js which is also made by ApexCharts AFAIK (https://apexcharts.com/apexsankey/).
ApexCharts.js
Free Open-Source JavaScript Sankey Chart
Create stunning flow diagrams in your apps with our JavaScript Sankey Chart plugin. 100% free to use with no signup required. Try it now.
Ohh @BlandIndustries this looks promising for Apex Charts too: https://www.outsystems.com/forums/discussion/85735/apex-charts-library-drill-down-on-apex-charts/
[Apex Charts Library] Drill Down on Apex Charts | OutSystems
[Apex Charts Library] Drill Down on Apex Charts
I will take a look at those options. I have not used apex charts before but I am willing to look
I tried this approach, but it didn't work. I think you will achieve it by creating a custom Livewire component, importing custom assets, etc.