Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
350
FineTuning ScatterSeries Marker Position
posted

Hello,

I am creating a chart for stock exchange data and there is a problem i can't solve for a few days already.

I have custom triangle and pyramid markers for ask and bid offers. They are positioned on the opposite side of Y-axis zero and work great until the distance from 0 become less than some value (close to 0). In such cases, they overlap and form a hexagon star-looking figure. What i need to make sure that pyramid's (bid, below 0 on Y) origin is its top corner, and for triangle everything is vice versa, i.e. origin is the bottom corner as it shows ask, always above 0 on Y.

I tried creating a rectangular template so the marker itself would occupy top/bottom half and it worked for triangle (ask) but doesn't work for pyramid (bid): legend and tooltip both loose the marker picture (that's clear why) and tooltip become visible when mouse is not exactly over the marker.

I assume the reason for the above is that all markers are aligned to center both on X and Y during layout phase so I need a way to amend that alignment.

Thanks, Alex

Parents Reply Children