ChartsOrg / ChartsOrg/Charts

Line drawing outside the graph limit

Open
#4,705 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

The line in the graph in some situations that the amount is high enough or too low the line is being drawn outside the limits of the graph, as the image below shows.

Screenshot 2021-08-25 at 09 16 53

I tried to apply some offset to the xAxis with no success, this data that is outside the boundaries is the .right data.

Does anyone have any clue which property I should change in order for it to work as it should?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the graph with very high and very low values, comparing the plotted line with the xAxis boundaries shown in the attached screenshot. Trace the chart's line and axis-limit handling; done means the line stays within the graph bounds for both extreme-value cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
data-visualization, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.