$Chart->ChartGridConfig = '{}'; // Setup chart series data if ($Chart->ChartSeriesSql != "") { ewr_LoadChartSeries($Chart->ChartSeriesSql, $Chart); if (EWR_DEBUG_ENABLED) { echo "<p>(Chart Series SQL): " . $Chart->ChartSeriesSql . "</p>"; } } // Setup chart data if ($Chart->ChartSql != "") { ewr_LoadChartData($Chart->ChartSql, $Chart); if (EWR_DEBUG_ENABLED) { echo "<p>(Chart SQL): " . $Chart->ChartSql . "</p>"; } } ewr_SortChartData($Chart->Data, 3, ""); // Render chart $Chart->LoadChartParms(); $chartxml = $Chart->ChartXml(); ?> <span class="ewChartBottom"> <?php // Show page break content if ($Chart->PageBreak && $Chart->PageBreakType == "before") { echo $Chart->PageBreakContent; } if ($Chart->ShowChart) { // Show actual chart echo $Chart->ShowChartFC($chartxml, FALSE, $Chart->DrillDownInPanel); } elseif ($Chart->ShowTempImage) { // Show temp image
$Chart->ChartGridConfig = '{}'; // Setup chart series data if ($Chart->ChartSeriesSql != "") { ewr_LoadChartSeries($Chart->ChartSeriesSql, $Chart); if (EWR_DEBUG_ENABLED) { echo "<p>(Chart Series SQL): " . $Chart->ChartSeriesSql . "</p>"; } } // Setup chart data if ($Chart->ChartSql != "") { ewr_LoadChartData($Chart->ChartSql, $Chart); if (EWR_DEBUG_ENABLED) { echo "<p>(Chart SQL): " . $Chart->ChartSql . "</p>"; } } ewr_SortChartData($Chart->Data, $Chart->ChartSortType, ""); // Render chart $Chart->LoadChartParms(); $chartxml = $Chart->ChartXml(); ?> <span class="ewChartBottom"> <?php // Show page break content if ($Chart->PageBreak && $Chart->PageBreakType == "before") { echo $Chart->PageBreakContent; } if ($Chart->ShowChart) { // Show actual chart echo $Chart->ShowChartFC($chartxml, FALSE, $Chart->DrillDownInPanel); } elseif ($Chart->ShowTempImage) { // Show temp image