More actions
No edit summary |
No edit summary |
||
Line 223: | Line 223: | ||
|- valign="top" align="left" | |- valign="top" align="left" | ||
| style="border: 1px solid;" | [[setReportStyleSheetId|setReportStyleSheetId(reportStyleSheetId)]] | | style="border: 1px solid;" | [[setReportStyleSheetId|setReportStyleSheetId(reportStyleSheetId)]] | ||
| style="border: 1px solid;" | | <source lang="javascript"> | ||
| style="border: 1px solid;" | | DCS_use(16749647); | ||
number reportStyleSheetId = 11060624; | |||
setReportStyleSheetId(getResourceIdFromGuid (getResourceGuid(reportStyleSheetId))); | |||
createCrossDiagram({"Q1"}, {"Q2"}); | |||
</source> | |||
| style="border: 1px solid;" | [[Tabulation_class|Tabulation.StyleSheet = value]] | |||
<source lang="javascript"> | |||
number reportStyleSheetId = 11060624; | |||
TabulationDiagramParameter p = new TabulationDiagramParameter(); | |||
p.DataCacheId = 16749647; | |||
Tabulation t = new Tabulation(); | |||
t.StyleSheet = new ReportStyleSheet(reportStyleSheetId); | |||
t.CreateCrossDiagram({"Q1"}, {"Q2"}, p); | |||
</source> | |||
| style="border: 1px solid;" | New Tabulation class <br> New ReportStyleSheet class | |||
|- valign="top" align="left" | |- valign="top" align="left" | ||
Line 301: | Line 315: | ||
|- valign="top" align="left" | |- valign="top" align="left" | ||
| style="border: 1px solid; width: 510.117px;" | [[getReportStyleSheetIdByName|getReportStyleSheetIdByName( | | style="border: 1px solid; width: 510.117px;" | [[getReportStyleSheetIdByName|getReportStyleSheetIdByName(qualifiedName)]] | ||
| style="border: 1px solid; width: 370.7px;" | | <source lang="javascript"> | ||
| style="border: 1px solid; width: 453.183px;" | | string qualifiedName = "Common resources\\Report stylesheet\\Tabulation Standard Report Stylesheet"; | ||
getReportStyleSheetIdByName(qualifiedName);//45 | |||
</source> | |||
| style="border: 1px solid; width: 370.7px;" | [[ReportStyleSheet_class|new ReportStyleSheet(qualifiedName).Id]] | |||
<source lang="javascript"> | |||
string qualifiedName = "Common resources\\Report stylesheet\\Tabulation Standard Report Stylesheet"; | |||
new ReportStyleSheet(qualifiedName).Id;//11060624 | |||
</source> | |||
| style="border: 1px solid; width: 453.183px;" | New class ReportStyleSheet | |||
|- valign="top" align="left" | |- valign="top" align="left" | ||
| style="border: 1px solid; width: 510.117px;" | [[getReportStyleSheetId|getReportStyleSheetId()]] | | style="border: 1px solid; width: 510.117px;" | [[getReportStyleSheetId|getReportStyleSheetId()]] | ||
| style="border: 1px solid; width: 370.7px;" | | <source lang="javascript"> | ||
| style="border: 1px solid; width: 453.183px;" | | DCS_use(16749647); | ||
number reportStyleSheetId = 11060624; | |||
setReportStyleSheetId(getResourceIdFromGuid (getResourceGuid(reportStyleSheetId))); | |||
createCrossDiagram({"Q1"}, {"Q2"}); | |||
getReportStyleSheetId();//45 | |||
</source> | |||
| style="border: 1px solid; width: 370.7px;" | [[Tabulation_class|Tabulation.StyleSheet]] | |||
<source lang="javascript"> | |||
number reportStyleSheetId = 11060624; | |||
TabulationDiagramParameter p = new TabulationDiagramParameter(); | |||
p.DataCacheId = 16749647; | |||
Tabulation t = new Tabulation(); | |||
t.StyleSheet = new ReportStyleSheet(reportStyleSheetId); | |||
t.CreateCrossDiagram({"Q1"}, {"Q2"}, p); | |||
t.StyleSheet;//11060624 | |||
</source> | |||
| style="border: 1px solid; width: 453.183px;" | New class Tabulation <br> New class ReportStyleSheet | |||
|- valign="top" align="left" | |- valign="top" align="left" |