nativescript-community / nativescript-community/ui-chart

Y-axis is not adjusting to barheight in barchart on IOS

Open
#58 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
37
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Summary
The bars are going outside the barchart on IOS. The code runs fine on android, and the strange thing is that it does not help when I revert the ui-chart version to a version I know has worked, because it is live right now.

I suspect it has something to do with the IOS version (17), just because reverting the package version is not helping.

image

Expected Behavior
I expect it to behave equally on both android and IOS.
image

Possible Solution

Device (please complete the following information):

  • Device: iPhone 15 pro (simulator 17.0), Iphone 14 pro (17.1.2)
  • Library Version ui-chart 1.2.32, core 8.6.0

Additional Context

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or reproduction code is named. Start by reproducing the bar overflow on the listed iPhone simulators and compare the iOS and Android rendering with ui-chart 1.2.32 and core 8.6.0. Done means the iOS y-axis adjusts to contain the bars consistently with Android.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, ios, typescript
Domain
data-visualization, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.