Giter VIP home page Giter VIP logo

Comments (9)

hi-manshu avatar hi-manshu commented on May 27, 2024 2

Hey I will try to fix this by this weekend

from charty.

AlexZhukovich avatar AlexZhukovich commented on May 27, 2024 1

Fixed this issue in PR #55

from charty.

hi-manshu avatar hi-manshu commented on May 27, 2024

Hey buddy, thank you for this. Can you pass your dataset for me to replicate!

thanks

from charty.

sanskar10100 avatar sanskar10100 commented on May 27, 2024

Initial Data:

LineData(xValue=23 Sep , yValue=10.0)
LineData(xValue=24 Sep , yValue=10.0)

Updated Data:

LineData(xValue=23 Sep , yValue=10.0)
LineData(xValue=24 Sep , yValue=10.0)
LineData(xValue=26 Sep , yValue=20.0)

Result:
image

from charty.

hi-manshu avatar hi-manshu commented on May 27, 2024

Thank you, will check soon!

from charty.

sanskar10100 avatar sanskar10100 commented on May 27, 2024

Hey @hi-manshu sorry to bug you, but any update on this?

from charty.

khaleeljageer avatar khaleeljageer commented on May 27, 2024

Hi,
I'm facing similar problem with CurveLineChart.
When I load the follwing LineData, recomposition draw the CurveLine chart out of bounds.

Screenshot from 2022-10-29 17-41-21

LineData that I used.

listOf(
  LineData(xValue = "23 Sep", yValue = 0.793f),
  LineData(xValue = "24 Sep", yValue = 0.766f),
  LineData(xValue = "25 Sep", yValue = 0.746f),
  LineData(xValue = "26 Sep", yValue = 0.786f),
  LineData(xValue = "27 Sep", yValue = 0.735f),
  LineData(xValue = "28 Sep", yValue = 0.712f),
  LineData(xValue = "29 Sep", yValue = 0.744f),
  LineData(xValue = "30 Sep", yValue = 0.774f)
)

from charty.

khaleeljageer avatar khaleeljageer commented on May 27, 2024

Hi @AlexZhukovich ,

Tested the fix with your branch. Found that the issue still exist with the following LineData.

listOf(
  LineData(xValue = "23 Sep", yValue = 0.793f),
  LineData(xValue = "24 Sep", yValue = 0.766f),
  LineData(xValue = "25 Sep", yValue = 0.746f),
  LineData(xValue = "26 Sep", yValue = 0.786f),
  LineData(xValue = "27 Sep", yValue = 0.735f),
  LineData(xValue = "28 Sep", yValue = 0.712f),
  LineData(xValue = "29 Sep", yValue = 0.744f),
  LineData(xValue = "30 Sep", yValue = 0.774f)
)

from charty.

AlexZhukovich avatar AlexZhukovich commented on May 27, 2024

@khaleeljageer I think here we have different issues. The initial issue is related to adding additional data and updating the chart component. In your case, the data is displaying incorrectly.

from charty.

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.