> On 14 Mar 2016, at 19:17, Mark Wieder <[email protected]> wrote:
>
> On 03/14/2016 12:09 PM, Terence Heaford wrote:
>
>> I think perhaps I am asking to much of the engine as when resizeControl is
>> received I don’t actually reposition/resize all the objects in the chart
>> (90+), I actually delete the objects and recreate the chart.
>
> Ah. In that case, try locking the screen, moving the stack off screen (say to
> -5000,-5000), recreate the graph, move the stack back into its original
> location, and unlock the screen.
>
> --
> Mark Wieder
> [email protected]
Thanks for the suggestion tried this without success:
on drawBarChart
lock screen
lock messages
put the topLeft of this stack into tTopLeft
set the topLeft of this stack to -5000,-5000
deleteChart
set the charts["chartType"] of me to "bar"
if the charts["data"] of me is not empty then
drawBackground
drawTitle
drawVertAxis
drawVertAxisGrids
drawVertAxisTicks
drawVertAxisLabels
drawVertAxisTitle
drawHorizAxisGrids
drawHorizAxis
drawHorizAxisTicks
drawHorizAxisLabels
drawHorizAxisTitle
drawDataLabels
drawLegend
drawDataBars
createDataDisplayField
end if
set the topLeft of this stack to tTopLeft
unlock messages
unlock screen
end drawBarChart
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode