lucasbara
Posts: 10
Joined: Fri Sep 02, 2022 2:10 pm

Which type of chart is this?

Hi guys,

I was wondering, which type of chart should be this one?

Image

It's an area one?
I found this one that is pretty similar -> https://www.highcharts.com/docs/stock/depth-chart , but I want the edges smoother, is that possible?

Regards,
Lucas
User avatar
dawid.d
Posts: 836
Joined: Thu Oct 06, 2022 11:31 am

Re: Which type of chart is this?

Hi,

Thanks for contacting us with your question!

Yes, this is an area chart.
The lack of smoothness in the example you posted is due to the step option being enabled.
Just set it to false, or ignore it at all, because it's disabled by default.

API: https://api.highcharts.com/highstock/series.area.step
Demo: https://jsfiddle.net/BlackLabel/bgj76fkm/

Let me know if that's what you were looking for!
Best regards
Dawid Draguła
Highcharts Developer
lucasbara
Posts: 10
Joined: Fri Sep 02, 2022 2:10 pm

Re: Which type of chart is this?

Thanks!

It's working well except for columns (yAxis and xAxis), they are not showing, do you know why?

Here is my example: https://jsfiddle.net/z35fn48x/

Regards,
Lucas
User avatar
dawid.d
Posts: 836
Joined: Thu Oct 06, 2022 11:31 am

Re: Which type of chart is this?

Hello Lucas,

The axes are not displayed because you've set the plot margin to 0.
Demo: https://jsfiddle.net/BlackLabel/7ax42zq5/

Regards
Dawid Draguła
Highcharts Developer

Return to “Highcharts Stock”