chartjs / chartjs/Chart.js

X-axis date range

Open
#10,332 2 comments 0 reactions 0 assignees View on GitHub
type: documentation
Dominant language
JavaScript
Stars
67.7k
Forks
11.9k
Avg merge
7h 39m
Merged PRs (30d)
5

Description

### Documentation Is:

- [ ] Missing or needed?
- [ ] Confusing
- [ ] Not sure?

### Please Explain in Detail...

Hi,

I have been using chart Js for a while now and its very fun and its meets almost every needs. Recently i came across one issue that i want the data for two different in x axis but it looks like something wrong in it.

![image](https://user-images.githubusercontent.com/94046541/166186135-e332d4f9-e5c5-4c42-87c2-30a576252962.png)

with reference to the above image, The x axis has both date and time for each value in order to differentiate two dates (ex:27-apr-2022 10:20 AM & 28-apr-2022 10:20 AM). but i want to have one date only once in X axis, not for every value until the next date data arrives . How can i do that ?

### Your Proposal for Changes

none

### Example

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.