message: Added documentation for series markers
diff: @@ -293,6 +293,50 @@ barSeries.updateData({
  });
  ```
  +### setMarkers
  +
  +Allows to set/replace all existing series markers with new ones.
  +
  +An array of items is expected. Each item should contain the following fields:
  +
  +- `time` (`Time`) - item time
  +- `position` (`aboveBar` &#124; `belowBar` &#124; `inBar`) - item position
  +- `shape` (`circle` &#124; `square` &#124; `arrowUp` &#124; `arrowDown`) - item marker type
  +- `color` (`string`) - item color
  +- `id` (`string` &#124; `undefined`) - item id, will be passed to click/crosshair move handlers
  +
  +Example:
  +
  +```javascript
  +series.setMarkers([{
  + time: '2019-04-09',
  + position: 'aboveBar',
  + color: 'black',
  + shape: 'arrowDown',
  + }, {
  + time: '2019-05-31',
  + position: 'belowBar',
  + color: 'red',
  + shape: 'arrowUp',
  + id: 'id3',
  + }, {
  + time: '2019-05-31',
  + position: 'belowBar',
  + color: 'orange',
  + shape: 'arrowUp',
  + id: 'id4',
  + },
  +]);
  +
  +chart.subscribeCrosshairMove(function(param) {
  + console.log(param.hoveredObject);
  +});
  +
  +chart.subscribeClick(function(param) {
  + console.log(param.hoveredObject);
  +});
  +```
  +
  ## Next reading
  - [Area series](./area-series.md)
  