Q1: Probably but it would involve hacking Chart.js to do something other than it’s default behavior. This is pretty far out of scope for what the plugin itself is intended to do.
Q2: There’s no mechanism for this and it’s not an intended usage. The idea, generally speaking is that you manage the data inside of M Chart going forward. The individual CSV import/export is there for convenience of getting a chart’s data in and out of the system, but there’s no mechanism for a bulk import export and none planned.
Hi Methnen,
Thank you for your reply. You were always faster than light 😉
Are you able to achieve what was described in Q1 considering we’re ready to cover the cost of the development?
I would imagine so but, I’ll admit I’m not really in a position where I could afford the time a the moment.
Just a bit too much going on personally and professionally at present to be confident I could do it in a timely manner without sacrificing something I can’t really afford to sacrifice.
I do have a suggestion of something to try though… that’s occurring to me as I think through it in a bit more detail and it’s a pretty easy (potentially) solution.
Just as a though experiment, wouldn’t putting and overflow-x: auto on the container div of the chart.js chart and then setting a width that’s some multiple of the number of columns be somewhat of a solution for this?
You’d end up with the chart rendered quite wide so it would be still readable and a horizontal scroll would reveal the rest and you could style that up to provide indicators that there’s more off screen and/or use a custom scroll bar to handle the interface in an accessible way as well.
Obviously you’d need to try it to confirm, but just thinking out loud, I think that could work without actually needing to do any custom Chart.js stuff. All you’d need is some fairly simple JS or jQuery code to insert itself under the chart when it renders (there’s some hooks for that) and then modify the containers as needed to set the widths and overflow value if necessary.
For a fully functional/stylable and still accessible scrollbar I’ve had good experiences with this one in the past:
https://github.com/bitshares/perfect-scrollbar
-
This reply was modified 4 months, 1 week ago by
methnen.
Hi,
I appreciate your assistance and advice on this matter. A big Thank You!
Unfortunately, I won’t be able to implement it myself but I will try to get someone to look into it. Coding isn’t my thing 😉
I know I should open another topic, but I will take the risk and ask: Is it possible to edit the Excel part on the front end to modify the chart?
Thanks once again and all the best.
W.