Comments (9)
Ooops! yeah I forgot the migration!... thanks for the reminder I will update it..
Im working on a chart widget right now actually...
it is super easy to make widgets.. You can copy and paste this one as a starting point: https://github.com/dcasia/value-widget
from nova-dashboard.
I think Im done! ... created a barchart and a line chart.. pie/radial will make later... now the only thing left is to write the docs... which is the hardest part of this job....
Any feedback is welcome.. I have added a basic readme with a simple example of how to use: https://github.com/dcasia/chartjs-widget
from nova-dashboard.
Your component is amazing ! I would like to include a widget that is based on ChartJS component, but I don't exactly know how to do it. I'm not bad in Laravel, but not good at VueJS. I would love to make a PR, but I don't know if I have the skills... Let me try !
from nova-dashboard.
Ooops! yeah I forgot the migration!... thanks for the reminder I will update it..
Im working on a chart widget right now actually...
it is super easy to make widgets.. You can copy and paste this one as a starting point: https://github.com/dcasia/value-widget
Would be awesome to see a working chart widget as sample!
from nova-dashboard.
https://github.com/dcasia/chartjs-widget this is still a work in progress...
from nova-dashboard.
I will give it a try tomorrow !
from nova-dashboard.
this is not so simple without proper docs :/
from nova-dashboard.
I tried it once more. I could implement a custom value card. Now, with chartJS, I get:
TypeError: Cannot read property 'display' of null
at a.mounted (chartjs-widget:formatted:22269)
at It (vendor.js?id=911c9c048b8f4c9bbb3b:1)
at en (vendor.js?id=911c9c048b8f4c9bbb3b:1)
at Object.insert (vendor.js?id=911c9c048b8f4c9bbb3b:1)
at x (vendor.js?id=911c9c048b8f4c9bbb3b:1)
at a.__patch__ (vendor.js?id=911c9c048b8f4c9bbb3b:1)
at a.t._update (vendor.js?id=911c9c048b8f4c9bbb3b:1)
at a.hn.before (vendor.js?id=911c9c048b8f4c9bbb3b:1)
at hn.get (vendor.js?id=911c9c048b8f4c9bbb3b:1)
at hn.run (vendor.js?id=911c9c048b8f4c9bbb3b:1)
This make a reference to :
scales: {
xAxes: [{
display: this.options.horizontalAxis.display,
What I did:
added this line to composer.json
``` "digital-creative/chartjs-widget": "dev-master",```
Copy paste the new Widget, and added it in my view with :
new SampleLineChart(0, 0, 2, 1, [])
Is there some mandatory properties ?
from nova-dashboard.
I think Im done! ... created a barchart and a line chart.. pie/radial will make later... now the only thing left is to write the docs... which is the hardest part of this job....
Any feedback is welcome.. I have added a basic readme with a simple example of how to use: https://github.com/dcasia/chartjs-widget
Hi ,
Iam getting the following error.Can you please help?
Could not check compatibility between App\Nova\Dashboards\Widgets\SampleLineChart::resolveValue(Illuminate\Support\Collection $options, DigitalCreative\NovaDashboard\Filters $filters): DigitalCreative\ChartJsWidget\ValueResult and DigitalCreative\NovaDashboard\Widget::resolveValue(Illuminate\Support\Collection $options, DigitalCreative\NovaDashboard\Filters $filters): DigitalCreative\NovaDashboard\ValueResult, because class DigitalCreative\ChartJsWidget\ValueResult is not available
from nova-dashboard.
Related Issues (20)
- Update on Static and dynamic mix? HOT 2
- Replacing default dashboard HOT 1
- enhance widget placement options HOT 2
- Hiding dashboards from sidemenu when having only 1 item HOT 3
- public Team-dashboard HOT 1
- Compatible with awesome-nova/dependent-filter ? HOT 2
- Multiple Dashboard link doesn't work HOT 7
- New filter released HOT 1
- Access to $filters in widgets() function HOT 1
- static mode is not working for widget HOT 4
- update url with filter settings HOT 1
- Charts are not updated when changing filters HOT 3
- Nova 4 compatibility HOT 3
- Filters' width HOT 2
- Full Example HOT 1
- Hiding widgets based on role? HOT 1
- Navigation state doesn't update HOT 5
- Can't get mobile menu to open on dashboard page
- Problem in getting filter value in widget HOT 1
- Table widget is not displaying last row on long data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nova-dashboard.