Xojo Conferences

« Merge field values in… | Home | FileMaker Stammtisch … »

ChartDirector Plugin with HiDPI

We got updated ChartDirector control example projects for HiDPI and Xojo 2018r3 coming with next MBS Plugins:

When using our plugin, you can set CDBaseChartMBS.ScaleFactor to 2 to get our plugin to multiply all numbers by 2 and get you a higher resolution of the graph. This makes it easy to adapt an application for higher resolutions.
27 10 18 - 18:45
one comment

Am trying to use your XY charting w/ MouseDrag zoom. Two things I notice in example – the chart is drawn 50-100 on axes instead of 0-100 because of scalefactor. Also, the selection zoomed to the mirror of what was selected because of this in Render:

//Corrected x scaling
axisLowerLimit = 100*viewport.getViewPortLeft //was -> 100.0-100.0 *(viewport.getViewPortLeft + viewport.getViewPortWidth)
axisUpperLimit = 100*(ViewPort.getViewPortLeft + ViewPort.getViewPortWidth) //was -> 100.0-100.0 * viewport.getViewPortLeft

Also it seems like using me.invalidate is not terribly reliable in triggering paint. So zoom wouldn’t consistently work. me.redraw seems to work consistently.

In my own app, I can’t seem to get the picture to redraw w/ scaled axes. I wonder if fact that I add the line layer and assign data and then scale the axes is the problem. Anyway, if I can get things to work, I’m going to buy it, but struggling a bit right at moment.
Jim - 19 02 19 - 23:16

Remember personal info?

Emoticons / Textile

Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.