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

Line chart with grid lines #11332

Open
1 of 3 tasks
Meenakshise opened this issue Jun 7, 2023 · 1 comment
Open
1 of 3 tasks

Line chart with grid lines #11332

Meenakshise opened this issue Jun 7, 2023 · 1 comment

Comments

@Meenakshise
Copy link

Documentation Is:

  • Missing or needed?
  • Confusing
  • Not sure?

Please Explain in Detail...

Can I build a line chart with grid lines like how I have attached in the below screenshot? And plot the point in the middle instead of on the line?

image

Your Proposal for Changes

Line chart with grid format and plotting in the middle?

Example

No response

@stockiNail
Copy link
Contributor

@Meenakshise you could use a trick, a combined chart type, using a bar chart type and adding an empty dataset (type bar) and your dataset (type line) with the data.

See codepen as sample: https://codepen.io/stockinail/pen/jOQOZGy

The sample is also using datalabels plugin (to show the values) and annotation plugin to highlight the different colored areas.

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

2 participants