When use {draggable:true}, it can't zoom from the top.
#bottom-layer-graph { border-radius: 10px; background-color: rgb(68, 68, 68); width: 100%; height: 100%; padding-top: 5px; } add padding-top :5px,so that the bar can move down 5px.
then appendto(document.getElementById("bottom-layer-graph"))
But it doesn't work prefect
maybe you can get some way to fix that.
When use {draggable:true}, it can't zoom from the top.
#bottom-layer-graph { border-radius: 10px; background-color: rgb(68, 68, 68); width: 100%; height: 100%; padding-top: 5px; }
addpadding-top :5px
,so that the bar can move down 5px. then appendto(document.getElementById("bottom-layer-graph")) But it doesn't work prefect maybe you can get some way to fix that.