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

Markers overflow on yaxis when zoom in with area/line chart #3320

Closed
Labels
bug Something isn't working

Comments

@RCelty
Copy link

RCelty commented Aug 19, 2022

Description

Markers always overflow out of the yaxis whenever I set the min option for the xaxis or zoom in.

Steps to Reproduce

  1. Create apex chart area/line type, xaxis type 'datetime', show marker.
  2. Zoom in the middle or the end of the chart.

Expected Behavior

Markers in front of the zooming area do not overflow.

Actual Behavior

Markers in front of the zooming area overflow.

Screenshots

image
image

Reproduction Link

I can't give you the data series because it is private, but here is my chart option:
codepen: https://codepen.io/RCelty/pen/LYdqGEb

@RCelty RCelty added the bug Something isn't working label Aug 19, 2022
@brianlagunas
Copy link
Member

Your sample does not reproduce the issue you are reporting. Please update the code pen to reproduce the issue or this will be closed.

@RCelty
Copy link
Author

RCelty commented Aug 22, 2022

I have updated codepen, please check it https://codepen.io/RCelty/pen/LYdqGEb

@RCelty
Copy link
Author

RCelty commented Oct 11, 2022

Do you have any plan on fixxing this issue yet?

@karolskolasinski
Copy link

when you add an axis border on the y-axis, then the markers are outside that axis:
image

what's more, when zoomed in, the entire graph goes off the axis:
image

data for chart from official docs (https://apexcharts.com/javascript-chart-demos/area-charts/spline/)
Just try to add

        yaxis: {
          axisBorder: {
            show: true,
            color: "black",
          },
        },

to example chart on official docs site.
Please fix this error, it is crucial.

@karolskolasinski
Copy link

@brianlagunas @joadan

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