Giter Site home page Giter Site logo

Comments (12)

aloisdeniel avatar aloisdeniel commented on May 22, 2024 5

Hello, at the moment values are needed and equitably distributed.

Not ideal, but you could do this :

var entries = new Entry []
{
    new Entry(0) { Label = "9:50" },
    new Entry(1) { Label = "9:51" },
    new Entry(2) { Label = "9:52" },
    new Entry(2) { Label = "9:53" },
    new Entry(3) { Label = "9:54" },
    new Entry(3) { Label = "9:55" },
    new Entry(3) { Label = "9:56" },
    new Entry(3) { Label = "9:57" },
    new Entry(4) { Label = "9:58" },
};

I'll see if I could add this feature in next versions.

from microcharts.

Seuleuzeuh avatar Seuleuzeuh commented on May 22, 2024 2

I can make a PR for it. How did you imagine the features ?
I'm thinking to do it white a specialized ChartSerie with step settings (range, step size) who is responsible to generate the according label. Based (I think) on numeric (float) and another one on Date maybe ?

from microcharts.

Seuleuzeuh avatar Seuleuzeuh commented on May 22, 2024 2

I will made some API spec before starting an implementation, I will try to do this spec this week, and if it fit the needs I'll start the implementation.
I already have an idea of an implementation, and it's something that can be done quickly.

from microcharts.

finnsea avatar finnsea commented on May 22, 2024

Would also be interested in something like this, or a step chart.

from microcharts.

vchelaru avatar vchelaru commented on May 22, 2024

I ran into this problem immediately when I started using Microcharts a few years ago. I am back now looking to use it again, and I see this still hasn't been solved. This is a very painful missing feature as I have data that doesn't occur on a regular interval, and adding "dummy" values in-between real values introduces its own problems.

from microcharts.

eman1986 avatar eman1986 commented on May 22, 2024

I do accept pull requests if someone wanted to implement such a chart.

from microcharts.

eman1986 avatar eman1986 commented on May 22, 2024

That sounds good to me

from microcharts.

gsgou avatar gsgou commented on May 22, 2024

@Seuleuzeuh do you have something available or work-in-progress in some fork?

from microcharts.

eman1986 avatar eman1986 commented on May 22, 2024

I think he needs more details about the feature first, it should be something that's not just for one type of chart, if we can make them repostable that'll be best.

from microcharts.

gsgou avatar gsgou commented on May 22, 2024

Thanks will be a useful feature addition.

from microcharts.

gsgou avatar gsgou commented on May 22, 2024

@Seuleuzeuh are there any chances to have the spec ready the next few days? Will you need support in the Implementation?

from microcharts.

Seuleuzeuh avatar Seuleuzeuh commented on May 22, 2024

@gsgou i've made a first draft of the API Spec. Can you take a look at #250 and give feedback ?
Yes, any help in the implementation will be very great.

from microcharts.

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.