Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateTime chart ? #34

Open
bidasknakayama opened this issue Nov 15, 2017 · 12 comments
Open

DateTime chart ? #34

bidasknakayama opened this issue Nov 15, 2017 · 12 comments

Comments

@bidasknakayama
Copy link

bidasknakayama commented Nov 15, 2017

To make a chart ( X: time 9:50 , 9:51, 9:52 , 9:54, 9.58....... ) , ( Y: value , 0,1,2,3,4 .. )
Is it possible ?

@aloisdeniel
Copy link
Collaborator

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.

@finnsea
Copy link

finnsea commented Mar 14, 2018

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

@vchelaru
Copy link

vchelaru commented Dec 8, 2020

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.

@eman1986
Copy link
Member

eman1986 commented Dec 8, 2020

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

@Seuleuzeuh
Copy link
Contributor

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 ?

@eman1986
Copy link
Member

eman1986 commented Dec 9, 2020

That sounds good to me

@gsgou
Copy link

gsgou commented Mar 15, 2021

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

@eman1986
Copy link
Member

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.

@Seuleuzeuh
Copy link
Contributor

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.

@gsgou
Copy link

gsgou commented Mar 15, 2021

Thanks will be a useful feature addition.

@gsgou
Copy link

gsgou commented Mar 21, 2021

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

@Seuleuzeuh
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants