You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the "PRICE LINE" is infinite on the chart, and it works perfectly.
Along with the 2 price lines i have i added an AREA series in order to "paint" it with a "rectangle", i would like it to be "infinite horizontally" the same way as the price lines.
So there would be no "gap" on the sides when using "rightOffset"
Is it possible?
The text was updated successfully, but these errors were encountered:
Plugins would allow you to define a rectangle that drawn completely across the screen.
The template example provided by create-lwc-plugin for a drawing primitive is a rectangle, and then you could add in some options to draw a gradient for the fill, and remove the logic for defining x coordinates and rather just plot from 0 until scope.mediaSize.width * scope.horizontalPixelRatio in the renderer code.
Plugins would allow you to define a rectangle that drawn completely across the screen.
The template example provided by create-lwc-plugin for a drawing primitive is a rectangle, and then you could add in some options to draw a gradient for the fill, and remove the logic for defining x coordinates and rather just plot from 0 until scope.mediaSize.width * scope.horizontalPixelRatio in the renderer code.
The tricky part is that the rectangle would have to work like the area, as in, when the chart is resized and moved around, the rectangle would also have to resize and move around.
I remember seeing a list of plugins somewhere, I would assume if there is a plugin system than something like that is probably already done ( i.e. drawing shapes on the chart that resizes / adapts like the the price line and the area chart )
Currently, the "PRICE LINE" is infinite on the chart, and it works perfectly.
Along with the 2 price lines i have i added an AREA series in order to "paint" it with a "rectangle", i would like it to be "infinite horizontally" the same way as the price lines.
So there would be no "gap" on the sides when using "rightOffset"
Is it possible?
The text was updated successfully, but these errors were encountered: