ChartsOrg / ChartsOrg/Charts

if setting the xAxis.spaceMin/spaceMax,the `XBounds` will get a incorrectly range

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

Description

if I use the CombinedChartViewController.swift demo, i can't get the correctly drawing,for my inspection,i find in the ChartDataSet file ,the function entryIndex in line 211 using partitioningIndex for closest index,but the xValue include xAxis.spaceMin value, so i will get the `endIndex` as a closest index,it is not a correctly index
I didn't find the right way to solve the problem.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.