[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.birt] Re: Charts: Is there a way to programmatically display legend names?


Actually I did see this in your example: var st1 = this.getRowData().getColumnValue("series1"); var st2 = this.getRowData().getColumnValue("series2"); var st3 = this.getRowData().getColumnValue("series3");

reportContext.setPersistentGlobalVariable("seriestitle1", st1);
reportContext.setPersistentGlobalVariable("seriestitle2", st2);
reportContext.setPersistentGlobalVariable("seriestitle3", st3);

And I found this in the XML of the .rptdesign file you gave. But I just can't find where exactly you put this code in the actual Layout page and/or Script page within the Birt designer.