question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Synced charts padding variation (causes hover issues)

See original GitHub issue

Explanation

The labels are exactly the same on both charts. The only difference is the value of X. Not many custom options are set other than the markers and some tooltip/label formatting. The charts are also exactly the same width/height.

  • What is the behavior you expect? The padding to be synced so that the hover position matches precisely.

  • What is happening instead? Padding seems to be also dependant on x value

  • What error message are you getting? None

syncnotverysync

I just found out this issue is also present in the docs sync example: https://apexcharts.com/vue-chart-demos/line-charts/syncing-charts/

syncnotvoscserysync2

I’ve added rulers to try visualize the problem more, apperantly the extra padding is only on the left side of the chart. The right side is still in sync. https://imgur.com/a/JWntKF4

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
junedchhipacommented, Jan 31, 2019

@elbojoloco That’s what I was thinking about. I will implement this in the upcoming releases.

0reactions
jesseglabcommented, Feb 12, 2021

Hey,

Having the same issue and warning pop up despite setting minWidth and declaring global values. none of these seem to work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Menu hover effect causes unwanted movement - CSS-Tricks
But my problem is that when I hover over each item, the padding causes the other menu items to move over and also...
Read more >
How to Make a Pie Chart Slice Standout on Hover in Chart js
How to Make a Pie Chart Slice Standout on Hover in Chart jsIn this video we will cover how to make a pie...
Read more >
Using CSS transitions - CSS: Cascading Style Sheets | MDN
CSS transitions provide a way to control animation speed when changing CSS properties. Instead of having property changes take effect ...
Read more >
Catch Market Data with a Synchronized Chart Grid - Cosaic.io
Chart Grid seamlessly allows you to select between two and twenty-five charts and arrange them in any layout. It eliminates visual clutter caused...
Read more >
Announcing Small Multiples (preview) | Microsoft Power BI Blog
The grid should be filled with the small multiples charts, sorted by the ... Data points: Hovering the data point on one multiple...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found