Get KoolPHP UI with 30% OFF!

Null Text Graph on LINESERIES

ari

Hi All,
How to change null text with value item ?
                                $seriess = new ColumnSeries();
                                $seriess->Name = "Actual";
                                $seriess->TooltipsAppearance->DataFormatString = "{0}";
                                $seriess->ArrayData($xactuals);
                                $charts->PlotArea->AddSeries($seriess);
                                $seriess = new LineSeries();
                                $seriess->Name = "Target";
                                $seriess->Appearance->BackgroundColor = "red";
                                $seriess->Appearance->BackgroundColor = "red";
                                $seriess->TooltipsAppearance->DataFormatString = "{0}";
                                $seriess->ArrayData($xtargets);
                                $charts->PlotArea->AddSeries($seriess);
                                $charts->PlotArea->SeriesOrder = array(1, 2);
                                $charts->Legend->SeriesOrder = array(1, 2);
                                echo $charts->Render();

I've found it...
$seriess->LabelsAppearance->DataFormatString = "{0}";
forget this question...
Posted May 17, 2019 , edited May 17, 2019 Kool