%DeepSee.UI.ChartPDF
Class %DeepSee.UI.ChartPDF Extends %ZEN.Report.reportPage [ System = 4 ]
Render a chart to PDF by using the Zen reports infrastructure.
Parameters
DOMAIN
Parameter DOMAIN = "%DeepSee";
DEFAULTMODE
Parameter DEFAULTMODE = "pdf";
EMBEDXSL
Parameter EMBEDXSL As BOOLEAN = 0;
Properties
mdx
Property mdx As %ZEN.Datatype.string;
MDX to run.
kpi
Property kpi As %ZEN.Datatype.string;
KPI to run.
axisLabels
Property axisLabels As %ZEN.Datatype.string [ MultiDimensional ];
Holder for chart labels.
RS
Property RS As %DeepSee.ResultSet;
Holder for DeepSee result set.
dataValues
Property dataValues As %ZEN.Datatype.string [ MultiDimensional ];
Holder for data.
seriesSize
Property seriesSize As %ZEN.Datatype.integer;
Holder for seriesSize.
XDatas
ReportDefinition
XData ReportDefinition [ XMLNamespace = "http://www.intersystems.com/zen/report/definition" ]
XML that defines the contents of this report.
ReportDisplay
XData ReportDisplay [ XMLNamespace = "http://www.intersystems.com/zen/report/display" ]
Methods
GetTableData
ClassMethod GetTableData()
Get the data, as xml, for the current query.
getNames
Method getNames(val, yAxisNo, pChart)
Return the axis labels for this chart.
getchartdata
Method getchartdata(ByRef var, pChart)
Return the array of data to be displayed within the chart.
%OnAfterCreateDisplay
Method %OnAfterCreateDisplay(pDisplay As %ZEN.Report.Display.report)
Create a chart and add it to the page.
%XMLtoZenChart
ClassMethod %XMLtoZenChart(pXML As %String, Output pChart As %ZEN.SVGComponent.chart) As %Status
Convert XML into a ZEN chart component.
%ZenChartToCOS
ClassMethod %ZenChartToCOS(pChart As %ZEN.SVGComponent.chart, Output pCOSChart As %ZEN.Report.Display.COSChart.cchart) As %Status
Convert a Zen chart into a COS chart.
%ZenAxisToCOS
ClassMethod %ZenAxisToCOS(pWhich As %String, pAxis As %ZEN.Auxiliary.axis, Output pCOSAxis As %ZEN.Report.Display.COSChart.caxis) As %Status
Convert a Zen axis into a COS axis.
%GetContext
ClassMethod %GetContext(Output pContext, Output pParms)
Fill in the context array from the current URL parameters. Also fill in the parameter array used to resolve expression references in %ParseExpr.
%GetKPIData
Method %GetKPIData(ByRef pContext, ByRef pParms, pKPI As %String, Output pData) As %Status
Get data from the given KPI.
%OnPreHTTP
ClassMethod %OnPreHTTP() As %Boolean [ ServerOnly = 1 ]
Test for additional resources.
transformColor
Method transformColor(color)