ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Right side Alignment
Posted by Norm on Mar-19-2018 20:33
Attachments:
Hi,

This is not a real problem, but does exist a method to align a right side of a windows with a grid and curve ?

I tried thess 3 solutions, but notice none difference :
Call c.setPlotArea(dLeft, 0, LargeurDuChamp, 160, Col1, -1, Col2, Col3, Col4)
Call c.setPlotArea(dLeft, 0, LargeurDuChamp + 1, 160, Col1, -1, Col2, Col3, Col4)
Call c.setPlotArea(dLeft, 0, LargeurDuChamp - 1, 160, Col1, -1, Col2, Col3, Col4)

On my next picture you will note that a curve and grid is not aligned on this right side!

Thanks
RightSideAlignment.jpg

  Re: Right side Alignment
Posted by Peter Kwan on Mar-21-2018 01:48
Hi Norm,

The part that is extended are normally covered by the grid lines or plot area border or right y-axis. In your case, all of them are probably transparent.

May be you can consider to configure a non-transparent right y-axis with the same color as the background to see if it can solve the problem:

Call c.yAxis2().setColors(&Hffffff)
Call c.yAxis2().setWidth(1)
Call c.yAxis2().setTitle(" ") 'Set a dummy title to enable the right y-axis

Regards
Peter Kwan