eduardoejp opened a new issue, #20455:
URL: https://github.com/apache/echarts/issues/20455

   ### Version
   
   5.5.1
   
   ### Link to Minimal Reproduction
   
   https://codepen.io/eduardoejp/pen/bGXYQEq
   
   ### Steps to Reproduce
   
   Just created a candlestick chart using JavaScript.
   I got the data in question from Bitcoin's time-series.
   Noticed that prices increase in red candles and decrease in green candles, 
which is the opposite of what it should do.
   
   I looked over the code in order to fix it and send a pull-request... but the 
code for the chart actually looks correct.
   I have no clue why there's a problem in the first place, so I can't suggest 
a solution.
   Perhaps I overlooked something.
   
   ### Current Behavior
   
   You set the "open", "close", "high" and "low" values for each data-point.
   The "high" and "low" values are correctly displayed in the tooltip for each 
data-point.
   But the "open" and "close" values are swapped.
   
   ### Expected Behavior
   
   You set the "open", "close", "high" and "low" values for each data-point.
   Each value is correctly displayed in the tooltip for each data-point.
   
   ### Environment
   
   ```markdown
   - OS: Ubuntu Linux
   - Browser: Both Firefox and Chromium
   - Framework: No framework is being used.
   ```
   
   
   ### Any additional comments?
   
   If you zoom out and look at the tooltips of the aggregated candles, all the 
data in the tooltips is correctly placed.
   
   This problem only occurs in the tooltips of the individual candles.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to