ChartsOrg / ChartsOrg/Charts

Candle stick chart not displaying when timestamp used for XAxis.

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

Description

Hi,

I want to draw a Candle Stick Chart.

The candles are NOT displaying correctly if I use timestamp data for XAxis.
The candles are displaying correctly if I use iteration index for XAxis.

* I have a line chart that is displaying like it should for the same kind of data(timestamp, X value). But when I use those data on candles chart it is not working.

[CandleStickChartNotWorking.txt](https://github.com/danielgindi/Charts/files/3173559/CandleStickChartNotWorking.txt)
![displaying](https://user-images.githubusercontent.com/14091591/57632536-2193d900-75a2-11e9-8721-61dd02c9995e.png)
![error](https://user-images.githubusercontent.com/14091591/57632537-2193d900-75a2-11e9-95d4-112163e91f5c.png)

Charts (3.2.2)
Swift 4.0
Xcode 10.2.1

Thank you

Contributor guide

Open the contributing guide

Research direction

Start with CandleStickChartNotWorking.txt and reproduce the timestamp-based XAxis case in Charts 3.2.2, comparing it with the iteration-index case and the working line chart. Done means candlestick data renders correctly when timestamps are used for the XAxis, with the reported behavior verified against the attached examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.