Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Can we change the grid size dynamically???
vishalkp
As we can change the chart size dynamically as follows:
function beforeGeneration( chart, icsc )
{
xAxis = chart.getBaseAxes()[0];
yAxis = chart.getOrthogonalAxes( xAxis, true )[0];
seriesDef = yAxis.getSeriesDefinitions().get(0);
runSeries = seriesDef.getRunTimeSeries()[0];
list = runSeries.getDataSet().getValues();
if( list.length > 3)
{
chart.getBlock().getBounds().setHeight(250);
chart.getBlock().getBounds().setWidth(600);
}
else
{
chart.getBlock().getBounds().setHeight(100);
chart.getBlock().getBounds().setWidth(600);
}
}
, can we change the grid size dynamically???
If so do suggest me how can we accomplish this..
Waiting for your reply...
Thanks,
Vishal KP.
Find more posts tagged with
Comments
mwilliams
Hi Vishal KP,
What is the reason behind changing the grid size? What determines the size?