asantibanez / livewire-charts

Neat Livewire Charts for your Laravel projects
MIT License
805 stars 120 forks source link

Mixed Charts #45

Open davidhsianturi opened 3 years ago

davidhsianturi commented 3 years ago

Summary

A Mixed Chart is a visualization that allows the combination of two or more distinct graphs. The features of each chart are retained on the mixed chart plot.

Proposal

I'm not sure if it's possible to include this in the current API.

perhaps the idea for a new API could be like this:

$mixedChartModel = 
    (new mixedChartModel())
        ->setTitle('Cash Flow')
        ->addColumn($seriesName, $value, $type, $extra);
$mixedChartModel = 
    (new mixedChartModel())
        ->setTitle('Cash Flow')
        ->addColumn('Income', 100, 'line', [])
        ->addColumn('Expense', 10, 'column', []);

Additional Notes

https://apexcharts.com/javascript-chart-demos/mixed-charts/line-column/

thanks for this package though, very helpful!

Eudu4rdo commented 1 month ago

waiting for this solution too