public function writeShiftedLabels()
    {
        if (!count($this->LabelPos)) {
            return 0;
        }
        foreach ($this->LabelPos as $Settings) {
            $X1 = $Settings["X1"];
            $Y1 = $Settings["Y1"];
            $X2 = $Settings["X2"];
            $Y2 = $Settings["Y2"];
            $X3 = $Settings["X3"];
            $Angle = $Settings["Angle"];
            $Label = $Settings["Label"];

            $this->pChartObject->drawArrow($X2, $Y2, $X1, $Y1, ["Size" => 8]);
            if ($Angle <= 180) {
                $this->pChartObject->drawLine($X2, $Y2, $X3, $Y2);
                $this->pChartObject->drawText($X3 + 2, $Y2, $Label, ["Align" => TEXT_ALIGN_MIDDLELEFT]);
            } else {
                $this->pChartObject->drawLine($X2, $Y2, $X3, $Y2);
                $this->pChartObject->drawText($X3 - 2, $Y2, $Label, ["Align" => TEXT_ALIGN_MIDDLERIGHT]);
            }
        }
    }