Comments (5)
@yhoiseth my mistake - I realized your query uses count() and is not referencing a column directly. This is a bug in our database connector. I've opened another issue for that here #86. For now, you can cast the result of your aggregations to numeric, but I'm hoping we'll have a fix for the type issue soon.
from evidence.
Thanks for creating an issue! There's definitely something strange going on in that chart. Even with a high volume of data, it should be able to render in a way that is readable. I'll look into this.
Does the same thing happen if you use LineChart? That will help me narrow down the cause of the issue.
We've talked about the ability to use other charting libraries inside Evidence and will be looking into that - thanks for the feedback!
from evidence.
Agreed w/ Sean -- adding support for a third party charting library is a super reasonable proposal. I have opened a separate issue to track this here #83
from evidence.
@yhoiseth I replicated the issue and initially thought it was a bug in our y-axis, but it turns out it's caused by numbers stored as strings. If you cast your employee_count column as a number, the charts should work as expected. Let us know if that works!
With a string column, the chart tries to plot every value without creating a scale, which is why there were so many things overlapped on your chart. I'm going to close this, but I've added an issue to show an error in the chart component in the future: #84
from evidence.
@yhoiseth I forgot to reply to your comment about needing interactivity in the charts. This is on the roadmap (and hopefully we can open up the ability to use other charting libraries too), but in the meantime if you hover your mouse over a column on your chart, you'll get a small popup label for that piece of data. Hopefully that will help a bit until we get some real interactivity up and running!
from evidence.
Related Issues (20)
- Add reference to default to ButtonGroupItem
- Option to download as .xlsx HOT 2
- ButtonGroup defaults are not available early enough in the render process
- Handle all null x case for all chart types
- Non-relative logo references should result in a prominent error HOT 2
- Templated pages fail to build when generated from query with date input
- sorting of dropdown is wrong for numbers HOT 2
- Using DimensionGrid on templated page breaks the build
- Vite fires an OptimizeDeps after server start
- Hello world example breaks locally HOT 2
- Prism is not defined error in browser HOT 2
- Anchor links do not work correctly for headers produced by loops
- Dropdown Select All button fails if there is no query
- [Bug]: Datarange 1 day selection and selection of date beyond today
- Add a test to catch SSR issues when a query has unresolved inputs
- [Feature]: Callouts
- setTrackProxy does not support direct array children
- [Bug]: weightedMean aggregation in DataTables count nulls and zeros in weightCol as 1 HOT 2
- [Bug]: DataTable (pagination) - current page number left stale when filter results in less pages than the current page HOT 1
- [Bug]: Custom formatting no longer works
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 evidence.