Coder Social home page Coder Social logo

Comments (5)

hughess avatar hughess commented on June 17, 2024 1

@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.

hughess avatar hughess commented on June 17, 2024

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.

mcrascal avatar mcrascal commented on June 17, 2024

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.

hughess avatar hughess commented on June 17, 2024

@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.

hughess avatar hughess commented on June 17, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.