I wanted to style vertical scrollbar and make it look slick using CSS.
I found some APIs here https://api.highcharts.com/highstock/yAxis.scrollbar
But using these available properties I can not get the look I wanted. I want to style my scrollbar similar to this scrollbar in this image https://ibb.co/2KzMrzJ
I am using Highchart version 10.3.3 and I also saw scrollbar looks different in latest version 11.1.0. But I can not upgrade my version now
Here is my code link : https://stackblitz.com/edit/stackblitz- ... %2FApp.tsx
Basically I can change scollbar style using below css. Something similar I would like to achieve here in Gantt chart case as well
Code: Select all
body::-webkit-scrollbar {
width: .5em;
}
body::-webkit-scrollbar-track {
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
background: rgba(255, 255, 255, 0.3);
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.3);
border-radius: 10px;
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}
Manohar