Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Candlestick charts for histograms #516

Open
chrbayer84 opened this issue Jun 19, 2014 · 33 comments
Open

Support Candlestick charts for histograms #516

chrbayer84 opened this issue Jun 19, 2014 · 33 comments

Comments

@chrbayer84
Copy link

Histograms diagrams are supported by graphite but there is no nice way to display the key data in one chart. The only way to display this right now is by only using the point diagram type. A better way to display things like min/max, median and mean and stddev in one chart, see https://en.wikipedia.org/wiki/Candlestick_chart.

@torkelo
Copy link
Member

torkelo commented Jun 22, 2014

Hope to add more advanced chart display options after summer when I have will work full time on grafana

@raulk
Copy link

raulk commented May 11, 2015

+1

@gjgreen
Copy link

gjgreen commented Sep 1, 2015

Any word on new chard types? I'm also interested in candlestick charts.

@Dieterbe
Copy link
Contributor

Dieterbe commented Sep 2, 2015

this looks pretty neat, though i don't understand what it has to do with histograms.
note that if you get your series summarized by day, you basically can plot the same information, just styled a bit differently (through points/lines/areas whatever)

@raulk
Copy link

raulk commented Sep 2, 2015

@Dieterbe yeah, I don't think they're related to histograms. OHLC Candlestick charts are widely used in financial markets. Supporting them in Grafana opens up yet a new use case.

@nhorlock
Copy link

nhorlock commented Mar 8, 2016

For the example given (min max median) box plus are better, more generalised to statistics and more obvious in terms of the data series.
Candle stick charts tend to always refer to financial terms open close low and high and tend to relate as a serious.

+1 for box plots in one form or other

@netixen
Copy link

netixen commented Mar 30, 2016

+1 for candle stick charts.
They might come from financial markets, but once you learn to read them you can use them for any time series data. Quite useful. I would replace charts where I plot first, last and median with OHLC in an instant.

@jachinte
Copy link

👍 I agree with @netixen, we use them for performance comparisons.

@digrich
Copy link

digrich commented May 25, 2016

+1

@bltb
Copy link

bltb commented May 25, 2016 via email

@mobula9
Copy link

mobula9 commented Jul 8, 2016

+1

1 similar comment
@zfsamzfsam
Copy link

+1

@darinarrick
Copy link

darinarrick commented Mar 13, 2017

+1. I'd love to be able to write a datasource to interface with a financial exchange and to create graphs in Grafana to show OHLC candlestick graphs.

@magick93
Copy link

+1

@timgaunt
Copy link

I'd like to see candlesticks -we use a lot of "time to process" data so it would be good to have a "Min" / "Max" view over time

@minhdanh
Copy link

minhdanh commented Jun 3, 2017

+1

2 similar comments
@cabrinha
Copy link

cabrinha commented Jun 4, 2017

+1

@tuxmonteiro
Copy link

+1

@phemmer
Copy link
Contributor

phemmer commented Jun 18, 2017

Guys, github has a reactions feature: https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments. There are potentially numerous people subscribed to the issue, and "+1" comments are just spam.
If you want to receive future updates, you can do so without commenting by clicking the "subscribe" button on the right.

@dddda212
Copy link

dddda212 commented Dec 9, 2017

+1

@adiospeds
Copy link

any update on candle charts?

@bdonnahue
Copy link

I'm confused. @ilgizar Is this still a standalone feature or included in the main build and just not in the documentation? Is it stable?

@ilgizar
Copy link
Contributor

ilgizar commented Apr 25, 2018

@bdonnahue I closed my PR, and designed this as separate plugin. https://github.com/ilgizar/ilgizar-candlestick-panel Is it beta version, but workful.

@yati-sagade
Copy link

I think the groundwork needed for this this will also allow for adding confidence interval bands to line charts. Are there plans to absorb the linked plugin into the project?

@tux-00
Copy link

tux-00 commented Dec 12, 2018

Any news ?

@iavael
Copy link

iavael commented Mar 14, 2019

@yati-sagade Candlestick charts may be not quite suitable for showing confidence interval bands. The latter one has probabilistic nature and represents estimated error because of incompleteness of data while the true value is uncertain.
Candlestick bars on the other side are used to represent distribution of true vaules during each interval, so they don't have probabilistic nature.

@emmtte
Copy link

emmtte commented Dec 4, 2019

+1

@andyceo
Copy link

andyceo commented Aug 25, 2020

Any updates? Very useful and long-awaited feature!

@tux-00
Copy link

tux-00 commented Aug 25, 2020

Maybe we can hope to have this feature with this work ? -> #21835

@leeoniya
Copy link
Contributor

leeoniya commented Nov 6, 2021

we just merged the alpha Market Trend panel in #40909. it currently expects the datasource / query to do the necessary windowing/aggregation into (OHLC/V), but we'll be adding raw price data aggregation in the frontend via a candlestick transform, or panel setting, or data format auto-detection (still TBD).

image

for those who have stuck around long enough to see this land, feedback / testing is very welcome :)

there is a related request for box/whisker plots [1], which is a close relative and will likely happen in the next few months.

[1] #3227

@m-o-e
Copy link

m-o-e commented Nov 6, 2021

Looks fantastic, thanks! 🙏

Two feature requests that spring to mind:

  • Min/max indicators in chart (yellow arrows)
  • Current value in axis (blue arrow)

2021-11-06_20-04-37

It's more space- and eyeball-efficient than the legend, esp.
when there's a grid of many charts on one page.

@rbjorklin
Copy link

Just tested this and it works very well, great work! 👍

I have two questions:

  • How did you pull your bars together? (see the weekend gaps in my screenshot)
  • When using Graph styles > Fill below to I'm unable to pick (base field name), is this intentional?

Screenshot 2022-01-02 at 22-39-55 Stock Price Candlechart - Grafana

Copy link
Contributor

This issue has been automatically marked as stale because it has not had activity in the last year. It will be closed in 30 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!

@github-actions github-actions bot added the stale Issue with no recent activity label Jan 19, 2024
@leeoniya leeoniya removed the stale Issue with no recent activity label Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.