chart cut off when resizing

0 views
Skip to first unread message

Chirag Patel

unread,
Dec 7, 2007, 1:29:21 AM12/7/07
to ZiYa Plugin
When I resize my chart by adjusting the :width and :height below, my
chart gets cut off. Can anyone recommend a way around this?

<%= ziya_chart( url_for( :controller => 'chart',
:action => 'line_chart_live'),
:id => 'data_live',
:width => 650,
:height => 550,
:bgcolor => "#efefef") %>

Thanks,
Chirag

Fernand Galiana

unread,
Dec 7, 2007, 1:38:47 AM12/7/07
to ziya-...@googlegroups.com
Hi Chirag,

   You will also need to adjust your chart_rect and legend_rect accordingly by adjusting
   the width and height. Resizing the chart tag won't automatically resize the chart canvas.

-Fernand
Reply all
Reply to author
Forward
0 new messages