Skip to content

Question x-axis scaling with lastVisibleItemBasedZoomAnchor #700

@Midrage

Description

@Midrage

I'm submitting a...

  • bug
  • feature
  • [ x] chore

What is the current behavior

when using the lastVisibleItemBasedZoomAnchor with CandleStick charts it will scale the x-axis to the min and max extents without space so the first and last markers on the x-axis is cut off

What is the expected behavior

I am trying to scale and pan the canvas a little so x-axis markers aren't truncated

Please tell us about your environment

"react-financial-charts": "^2.0.1",
"react": "^18.2.0",

  • Version: 1.1.0
  • Browser: [all | Chrome XX | Firefox XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari ]

Other information

I'm just looking for clarification because I went through the financial source and can't figure it out
Screenshot 2024-01-19 at 9 50 49 AM
Thanks for any help you can provide

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions