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

New chart type request: candlestick charts #121

Open
ryan-maus opened this issue Apr 3, 2014 · 23 comments
Open

New chart type request: candlestick charts #121

ryan-maus opened this issue Apr 3, 2014 · 23 comments
Labels
C-feature-request Category: A feature request or an enhancement C-new-chart Category: A feature request for a new chart on hold plugin candidate

Comments

@ryan-maus
Copy link

I think it would be useful to have a type of timeseries chart that renders as a candlestick chart. The config could look something like this

var chart = c3.generate({
    data: {
        x: 'x',
        columns: [
            ['x', '2013-01-01', '2013-01-02', ...],
            ['data1', {high: 10, low: 4, open: 9, close: 8}, ...]
        ]
    },
    axis: {
        x : {
            type: 'timeseries'
        }
    }
}
@masayuki0812
Copy link
Member

Hi, thank you for the request. This looks nice. I'd like to add this feature, but it would be in version 0.2.x or higher.

@ghost
Copy link

ghost commented Aug 28, 2014

+1

1 similar comment
@daxreyes
Copy link

daxreyes commented Nov 6, 2014

+1

@aendra-rininsland
Copy link
Member

This sounds like a good candidate for a plugin idea. Alas, until #351 is complete, that is not possible. Adding on hold and closing, will reopen once plugin infrastructure is in place.

@aendra-rininsland
Copy link
Member

Reopening after discussion with @masayuki0812 re: how to handle on hold issues.

@hristod
Copy link

hristod commented May 19, 2015

Any news on the candlestick charts?

@ultrageek
Copy link

Any updates on this? I've been trying to find a hack, but I don't like the idea of using stacked bar/column charts to fake candlesticks. Actually, I'm trying to do "floating" column charts, which are essentially boxplots without the whiskers. (I spent a few hours using Google Charts last night, only to find I'd wasted my time because the scripts don't work in WordPress. C3.js scripts, however, work fine in WordPress.)

@MarcGodard
Copy link

update?

@Nikcrysis
Copy link

Any updates?

@TruDan
Copy link

TruDan commented Aug 10, 2016

+1

@stevewirts
Copy link

boxplot would really great to have...
any chance this could go in soon?

@Anniepoo
Copy link

+1

@kidwellj
Copy link

kidwellj commented Aug 7, 2017

Just wondering at the state of this discussion? I'd be willing to put in some dev time getting box plot / candlestick (which aren't quite the same thing BTW) implemented as a feature here, but haven't spent much time digging in the current code to know how much effort we'd be talking about.

@stevewirts
Copy link

stevewirts commented Aug 8, 2017 via email

@z1mmz
Copy link

z1mmz commented Aug 17, 2017

+1 really would love candlestick charts

@ahmednoureldeen
Copy link

+1

1 similar comment
@rszemplinski
Copy link

+1

@MarcGodard
Copy link

+1

1 similar comment
@cristiandan
Copy link

+1

@martingraham
Copy link

martingraham commented May 9, 2018

I dunno if anything happened with this, but with a combination of css and a stacked bar chart you can give the impression of a boxplot/candlestick chart

However, you do have to process your data first to give the correct gaps/heights

https://jsfiddle.net/uphokkax/1/

@SergioMerinoGesternova
Copy link

SergioMerinoGesternova commented Nov 8, 2018

Hi, starting from the @martingraham 's code I have made the next code to integrate candlestick chart with c3:
https://jsfiddle.net/Sergio11/wcztb3vy/
Hopefully soon c3 have candlestick charts natively

@IntusFacultas
Copy link

+1

1 similar comment
@adamwiw
Copy link

adamwiw commented Feb 20, 2021

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: A feature request or an enhancement C-new-chart Category: A feature request for a new chart on hold plugin candidate
Projects
None yet
Development

No branches or pull requests