Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • in reply to: Zoom out on change? #21786

    I just want the same functionality as the reset button does but I can’t find it so ill just have to click it…
    solved it..
    document.getElementsByClassName('canvasjs-chart-toolbar')[0].children[1].click()

    in reply to: Zoom out on change? #21427

    I already have the function that notices the change. I just need to reset the zoom and want to know how to do so without changing things.

    in reply to: Zoom out on change? #21426

    lets turn the question instead, I want to do the same thing as the reset button does if the data is changed in a specific way.
    Is there a way to access that function from the api? Can’t share my code sorry.

    in reply to: Z-scaling when changing values – Not working #21388

    Perfect you solved my problem :)

    
        const referenceZscaling = {x:xMin , y: yMin, z: zdiff, name: "referenceZ", color: "transparent", toolTipContent: null}
        const data =   [{
          type: "bubble",
          showInLegend: true,
          legendText:legendText,
          legendMarkerType: "circle",
          legendColor:"gray",
          toolTipContent: toolTip,
          dataPoints: [referenceZscaling,...dataPoints]
        }]
    
Viewing 4 posts - 1 through 4 (of 4 total)