Renders a doughnut/pie chart with an inline colour legend using the ChartNew.js (Chart.js v1) library.
Pie — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Returns an HTML string containing a colour-swatch legend table, a <canvas> element, and an inline <script> that initialises a Chart.Doughnut. The query must return two columns: label and numeric value. Segment colours are taken from self._Colour (comma-separated list).
Requires ChartNew.min.js. Uses Chart.js v1 API (Chart.Doughnut). The chart is responsive with maintainAspectRatio: false.