Page 1 of 1

Chart y-axis stating at base 100 (index)

Posted: Thu Oct 14, 2021 8:48 pm
by kevincreation
Hello,

How can I do a chart as per attachment where the y-axis stating at base 100 (index).

Thanks in advance for your support.

Kevin

Re: Chart y-axis stating at base 100 (index)

Posted: Fri Oct 15, 2021 7:46 am
by mateusz.b
Hi kevincreation,

Welcome to our forum and thanks for contacting us with your question!

Not sure if I understood correctly, but if you want your Y axis values to start on 100 you can use yAxis.min option.
Demo:https://jsfiddle.net/BlackLabel/rv78dz4s/
API reference: https://api.highcharts.com/highcharts/yAxis.min

Let me know if that was what you were looking for!
Best regards!

Re: Chart y-axis stating at base 100 (index)

Posted: Mon Oct 18, 2021 7:24 pm
by kevincreation
Hi Mateusz,

Thanks for your response, in fact what i am looking for is for a value of 84 the bar goes downward from 100 to 84 whereas for a value of 120 the bar goes upward from 100 to 120.

Best Regards,

Kevin

Re: Chart y-axis stating at base 100 (index)

Posted: Tue Oct 19, 2021 2:34 pm
by mateusz.b
Hi kevincreation,

Not sure if I understood correctly. Would you like to set Y axis range dynamically based on max and min values of you data? Let me know if that is the case and if not please provide me with more details.

Best regards!

Re: Chart y-axis stating at base 100 (index)

Posted: Wed Oct 20, 2021 9:37 am
by kevincreation
Hi Mateusz,

I just want to reproduce the attached chart.

Thanks,

Kevin

Re: Chart y-axis stating at base 100 (index)

Posted: Wed Oct 20, 2021 11:35 am
by mateusz.b
Hi kevincreation,

Here's a simple reproduction of your chart: https://jsfiddle.net/BlackLabel/j305pxdr/ Let me know what do you think about it and what would you like to change.

Best regards

Re: Chart y-axis stating at base 100 (index)

Posted: Wed Oct 20, 2021 8:56 pm
by kevincreation
wow, great job mateusz, thanks a lot - am impressed

Re: Chart y-axis stating at base 100 (index)

Posted: Thu Oct 21, 2021 6:30 am
by mateusz.b
Hi kevincreation,

Glad to hear you like it. Frankly speaking it is a mere example of what you can achieve with Highcharts. In case you would like to change anything or ask more Highcharts related questions feel free to contact us anytime.

Best regards!

Re: Chart y-axis stating at base 100 (index)

Posted: Fri Oct 22, 2021 10:12 am
by kevincreation
Thank Mateusz for your proposal

Re: Chart y-axis stating at base 100 (index)

Posted: Mon Oct 25, 2021 8:14 am
by mateusz.b
You're welcome.