ABTSoftware / SciChart.JS.Examples

MIT License
76 stars 36 forks source link

Stacking of axis not working correctly in the new version as earlier #180

Closed sakshamjaiswal1 closed 1 year ago

andyb1979 commented 1 year ago

Hi there, any further detail to help us diagnose or assist?

For example:

sakshamjaiswal1 commented 1 year ago

scichart": "^2.2.2415"-- the version i am using and i have updated to the latest version that was releaed 12 days ago Screenshot from 2023-01-30 14-15-55

The above is the error i am getting after updating the code. Also the mouse-wheel modifir is also not working Screenshot from 2023-01-30 15-28-51

Below is the layout strategy that i have used to stack the axis, i have created the secondry axis tha needs to be stacked but insted it is throwing errors and the documentation are also not updated for the new version changes. If the documentation are updated then i guess it might be easy to solve it

` new NumericAxis(wasmContext, { id: AXIS2_ID, axisAlignment: EAxisAlignment.Right, stackedAxisLength: "12%",

}) 

sciChartSurface.layoutManager.rightOuterAxesLayoutStrategy = new RightAlignedOuterVerticallyStackedAxisLayoutStrategy();

`

andyb1979 commented 1 year ago

This should work without changes. I’ll try create a codepen later and see if I can reproduce it

andyb1979 commented 1 year ago

OK with the information provided so far, I'm not able to reproduce this problem

Perhaps you can modify this codepen here until it shows the issue you're seeing?

Screenshot 2023-01-30 at 21 09 36
sakshamjaiswal1 commented 1 year ago

@andyb1979 Thnks a lot now the bug is fixed in the latest version