title: phpspreadsheet - lines without markers in chart
body: <p>I am using phpspreadsheet to generate line charts. Almost everything is fine, but I don't get how to change plot style.</p>
  
  <p>Here is what I have:</p>
  
  <pre><code>function createChart($sheet, $sheetname, $data) {
  
      $count = $data["custom"]["count"];
  
      $sheet-&gt;getColumnDimensionByColumn(1)-&gt;setAutoSize(true);
      $sheet-&gt;setCellValueByColumnAndRow(1, 1, $data["custom"]["type"]);
  
  
      for($j=0; $j &lt; $count; $j++)
          $sheet-&gt;setCellValueByColumnAndRow(1, $j + 2, $data["custom"]["dates"][$j]);
  
      for($i=0; $i&lt; count($data["series"]); $i++) {
  
          $sheet-&gt;setCellValueByColumnAndRow($i+2, 1, $data["series"][$i]["name"]);
          $sheet-&gt;getColumnDimensionByColumn($i+2)-&gt;setAutoSize(true);
  
          for($j=0; $j &lt; $count; $j++)
          {
  
              $value = $data["series"][$i]["data"][$j] ? $data["series"][$i]["data"][$j] : 0;
              $sheet-&gt;setCellValueByColumnAndRow($i+2, $j + 2, $value);
          }
      }
  
      $dsl=array();
  
      for($i=0; $i&lt; count($data["series"]); $i++) {
          $series = new DataSeriesValues(DataSeriesValues::DATASERIES_TYPE_STRING, $sheetname . '!' .
           $sheet-&gt;getCellByColumnAndRow($i+2, 1)-&gt;getCoordinate(), NULL, 1, [], NULL, NULL);
          array_push($dsl, $series);
      }
  
      $xal=array(
          new DataSeriesValues(DataSeriesValues::DATASERIES_TYPE_NUMBER, $sheetname . '!'.
              $sheet-&gt;getCellByColumnAndRow(1, 2)-&gt;getCoordinate() . ':' .
              $sheet-&gt;getCellByColumnAndRow(1, $count + 2)-&gt;getCoordinate()  , NULL, $count)
      );
  
      $dsv = array();
  
      for($i=0; $i&lt; count($data["series"]); $i++) {
          $series = new DataSeriesValues(DataSeriesValues::DATASERIES_TYPE_NUMBER, $sheetname . '!'.
              $sheet-&gt;getCellByColumnAndRow($i+2, 2)-&gt;getCoordinate() . ':' .
              $sheet-&gt;getCellByColumnAndRow($i+2, $count + 2)-&gt;getCoordinate()  , NULL, $count);
          array_push($dsv, $series);
      }
  
      $type = "";
  
      switch($data["series"][0]["type"]) {
  
          case CHART_TYPE_BARCHART:
              $type = DataSeries::TYPE_BARCHART;
          break;
          case CHART_TYPE_LINECHART:
              $type = DataSeries::TYPE_LINECHART;
          break;
          default:
            $type = DataSeries::TYPE_LINECHART;  
      }
  
      $ds = new DataSeries(
          $type,
          DataSeries::GROUPING_STANDARD,
          range(0, count($dsv)-1),
          $dsl,
          $xal,
          $dsv,
          null,
          true,
          DataSeries::STYLE_MARKER
      );
  
      $pa = new PlotArea(NULL, array($ds));
  
  
      $legend = new Legend(Legend::POSITION_BOTTOM, NULL, false);
  
      $title = new Title($data["title"]["text"]);
  
  
      $chart = new Chart(
          'chart1',
          $title,
          $legend,
          $pa,
          0,
          0,
          NULL,
          NULL
      );
  
      $chart-&gt;setTopLeftPosition( $sheet-&gt;getCellByColumnAndRow(count($data["series"]) + 3, 1)-&gt;getCoordinate());
      $chart-&gt;setBottomRightPosition($sheet-&gt;getCellByColumnAndRow(count($data["series"]) + 17, 40)-&gt;getCoordinate());
  
      $sheet-&gt;addChart($chart);
  
  }
  </code></pre>
  
  <p>Specifically, I would like to draw lines without markers. </p>
  
  <p>I tried passing all possible values the <code>$plotStyle</code> parameter of the <code>Dataseries</code> constructor, but this didn't have any effect.</p>
  
  <p>I know from the <a href="https://phpoffice.github.io/PhpSpreadsheet/master/PhpOffice/PhpSpreadsheet/Chart/Properties.html" rel="nofollow noreferrer">API docs</a> that there is a <code>Properties</code> class which defines many constants influencing a chart's style, but I don't get how to use it, as it doesn't seem to be referenced by other classes. </p>
  
  <p>I also know from <a href="https://stackoverflow.com/questions/46959282/styling-cell-borders-with-phpspreadsheet-php">this question</a> that one can set style properties of the document being created, is this the right way? How to navigate to the chart's properties?</p>