ChartsOrg / ChartsOrg/Charts

Unable to get full output as per the input

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

Description

func setLineChart() {

lineChart.clear()
lineChart.noDataText = "You need to provide data for the chart."

var dataEntriesForMaster: [ChartDataEntry] = []
var dataEntriesForSlave: [ChartDataEntry] = []
var dataEntriesForZero: [ChartDataEntry] = []
var dataEntriesForFive: [ChartDataEntry] = []

lineChart.legend.enabled = false

var arrayMasterPoints = [[1.0, 3.0], [1.0, 4.0], [2.0, 4.0], [2.0, 3.0],[1.5, 3.0], [1.5, 4.0], [2.5, 4.0], [2.5, 3.0]]

for i in 0..

Contributor guide

Open the contributing guide

Research direction

Start by reproducing setLineChart() with the supplied arrayMasterPoints and inspect how the four LineChartDataSet instances are rendered against the screenshot. Compare the displayed series with the input points and trace the line-chart data assignment at lineChart.data. Done means the chart output matches the supplied points, but the issue does not specify an expected output or test.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.