Giter VIP home page Giter VIP logo

Comments (7)

lcallarec avatar lcallarec commented on August 23, 2024 1

@stsdc Sorry for the delay... Promised, I'm on it this week...

from live-chart.

lcallarec avatar lcallarec commented on August 23, 2024

It seams that we need a more generic way to do some stuff on a given serie based on its index to fit your needs. Hence, I'll say that I need some times to implement it in a correct way. Can you wait a bit for this feature to be implemented ?

If you want, I can add some undocumented conveniant methods to unblock you in your project (methods which will be deprecated and removed when the more generic way is available).

from live-chart.

stsdc avatar stsdc commented on August 23, 2024

I can wait. Take Your time 👍

from live-chart.

stsdc avatar stsdc commented on August 23, 2024

@lcallarec just pinging 😄

from live-chart.

lcallarec avatar lcallarec commented on August 23, 2024

Release 1.7.0 is out and should fit your needs.

  • Series can be retrieved using Chart.series property, by index using array access notation or getter (Chart.series[index] or Chart.series.get(int index)), or by name (Chart.series.get_by_name(string name)). Adding a new value to a serie is simpler : get the serie (either from where you created it or from chart's property) and add a value with Serie.add(double value)

So, you'll be able to do something like chart.series[2].clear(). Please note that you'll need to enclose that with a try/catch block.

from live-chart.

lcallarec avatar lcallarec commented on August 23, 2024

@stsdc maybe you weren't noticed by my last comment. Fell free to close once it's ok on your side

from live-chart.

stsdc avatar stsdc commented on August 23, 2024

Was too busy sorry 😬
Everything works!

from live-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.