|
Re: Convert crosstable to chart with DE API [message #896802 is a reply to message #896701] |
Thu, 19 July 2012 21:03 |
|
David
I have an example that calls the de api in the before factory and sets
the index based on a parameter that lets the user decide to show as a
chart or crosstab.
th = reportContext.getDesignHandle().findElement("mycrosstab");
mvh = th.getProperty("multiViews");
if( params["ShowAs"].value == "chartview" ){
mvh.setProperty("index", "0" );
}else{
mvh.setProperty("index", "-1" );
}
See attached
Jason
On 7/19/2012 8:16 AM, David Vinicz wrote:
> Hi,
>
> I'd like to convert a crosstable to a chart (or charts). I know there is
> a "Show as chart" function in the editor, but I'd like to do this via
> the DE API because i'm creating the crosstables also with the DE. I
> didn't find any easy solutions for that yet ( as easy as one click in
> the editor ). Is there any out of the box solution for this also in the
> DE API, or do I have to create my own?
>
> Thank you for your replies!
>
> David
|
|
|
|
Powered by
FUDForum. Page generated in 0.04073 seconds