-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chart support #146
Comments
@dantownsend @Fidel-C I've been playing around a bit with adding charts to Picolo Admin. In addition to charts.mp4The data format must be a |
@sinisaos wow this is really nice |
@sinisaos Yeah, that's really cool 👍 How large is the chartkick library? We just need to make sure we pick something which doesn't make the bundle size too large. |
I'm already thinking how I could use this in my own projects ... I think it'll be very useful. |
Thank you both for your kind words. |
@sinisaos is the chart feature now in the official version? |
@Fidel-C No it's not. It's just an experiment. I didn't even make a PR because @dantownsend didn't say that the package size of the new Vue library is fine. You can patch a local installation from this branch so you can try it out. First you need to download, then |
Sorry, I haven't looked into it yet. Just need to try running the bundle locally, to see how big the compiled JS file is. From the look of the link you shared it doesn't seem too bad though. |
@sinisaos thanks a lot for your help. But then, charts display has become a major requirement for modern admin panels. Maybe @dantownsend will consider that. |
@dantownsend and @sinisaos Seems this feature has been replaced by the "links" feature? |
@Fidel-C The chart PR is definitely still valid. I like the links feature because it's generally useful, but I've wanted native chart support for a while. I'm trying to get another PR finished off in the main Piccolo repo, then can turn my attention to these other PRs. |
Alright cool. Will be waiting |
I'm putting this here as a placeholder to collect thoughts. I don't think it's an immediate priority, but would be cool.
We support form creation using
FormConfig
. We might be able to add something similar calledChartConfig
. It would initially just be for very simple chart types, like bar, line, and pie.Here's an example:
There would be a new section in the sidebar:
The text was updated successfully, but these errors were encountered: