Giter VIP home page Giter VIP logo

Comments (7)

imaNNeo avatar imaNNeo commented on May 11, 2024 1

Fixed problem in 0.3.1, you can now set the interval in the SideTitles to fix your problem.

from fl_chart.

wksvo avatar wksvo commented on May 11, 2024

me too.

from fl_chart.

imaNNeo avatar imaNNeo commented on May 11, 2024

Hi guys, I know your problem, but not sure what could we do,
I think you guys can scale down your values to fix this problem, is it works?

from fl_chart.

chagaj avatar chagaj commented on May 11, 2024

Hey Iman,

Thanks for taking the time to respond. Unfortunately this would not be ideal in my case, which is that I wish to implement a PNL graph.

Depending on the user (and their currencies), values can range in the 1000s or 10,000,000s.

While I do understand that your current implementation of line charts does not support a large range in values, it may be something you wish to consider implementing in the future as this issue is bound to prop up for others.

For example, any finance app that supports a low value currency that wishes to use your line chart will need it to support large range of values.

Perhaps you could implement a way to set an interval between y-axis titles so that getTitles isn't called on every incremental integer?

Do put the word out if you decide to work on it.

Outside of that, thanks for all the work you've done on this package :).

from fl_chart.

imaNNeo avatar imaNNeo commented on May 11, 2024

Your welcome, and it's my pleasure to read your text,
You are right, we should fix this problem,
as I understand the problem is just about y titles right?
Your welcome,
Thanks!

from fl_chart.

chagaj avatar chagaj commented on May 11, 2024

You're welcome and thanks for your response!

I have not tested it for the x-axis but but it looks to me like it would work the same way when getTitles() is called for titles of the x-axis too.

I fear the same issue may result if the graph needs to plot points with a large range of x values as well.

from fl_chart.

imaNNeo avatar imaNNeo commented on May 11, 2024

Ok, I will check it too,
stay tuned.
Thanks!

from fl_chart.

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.