class %DeepSee.UI.ChartPDF
extends %ZEN.Report.reportPage
Render a chart to PDF by using the Zen reports infrastructure.
This is a Zen Report class.
parameter DEFAULTMODE = "pdf";
parameter DOMAIN = "%DeepSee";
Localization domain.
DataModel classes that wish to support localization must provide a value for this
within subclasses.
parameter EMBEDXSL = 0;
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.
method %GetKPIData(ByRef pContext, ByRef pParms, pKPI As %String, Output pData)
as %Status
Get data from the given KPI.
method %OnAfterCreateDisplay(pDisplay As %ZEN.Report.Display.report)
Create a chart and add it to the page.
classmethod %OnPreHTTP()
as %Boolean
Test for additional resources.
classmethod %XMLtoZenChart(pXML As %String, Output pChart As %ZEN.SVGComponent.chart)
as %Status
Convert XML into a ZEN chart component.
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.
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.
classmethod GetTableData()
Get the data, as xml, for the current query.
method getNames(val, yAxisNo, pChart)
Return the axis labels for this chart.
method getchartdata(ByRef var, pChart)
Return the array of data to be displayed within the chart.
method transformColor(color)