Also just tried hide this stack and show this stack and the whole stack window 
flashes instead of just the group.

Could we now be talking a bug?


Thanks

Terry






> On 14 Mar 2016, at 19:43, Terence Heaford <t.heaf...@icloud.com> wrote:
> 
> 
>> On 14 Mar 2016, at 19:17, Mark Wieder <mwie...@ahsoftware.net> 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
>> ahsoftw...@gmail.com
> 
> 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
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to