<!--
为了方便我们能够复现和修复 bug,请遵从下面的规范描述您的问题。
-->


### One-line summary [问题简述]

Is it possible to remove the two symbols (the round and the arrow) on a 
markLine ?

### Version & Environment [版本及环境]
+ ECharts version [ECharts 版本]:  4.0.4
+ Browser version [浏览器类型和版本]: -
+ OS Version [操作系统类型和版本]: -

### Expected behaviour [期望结果]

I want to get a simple markline without any symbol on my chart. The problem is 
when I use the `symbol: 'none'` property, it only removes the round symbol and 
I still have the arrow. 
```javascript
{
        yAxis: MY_VALUE,
        symbol: 'none'
}
```
I found a way to remove both:
```javascript
[
         {
                yAxis: MY_VALUE,
                xAxis: startDate,
                symbol: 'none'
        },
        {
                yAxis: MY_VALUE,
                xAxis: endDate,
                symbol: 'none'
        }
]
```
But with this solution, when i use the zoom on the chart, my marklines 
disappears..
So, is there any way to get a simple markline without any the Symbols ?

### ECharts option [ECharts配置项]
<!-- Copy and paste your 'echarts option' here. -->
<!-- [下方贴你的option,注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。最好是我们能够直接运行的 
option。如何得到能运行的 option 参见上方的 guidelines for contributing] -->
```javascript
option = {
  "tooltip": {
    "trigger": "axis"
  },
  "grid": {
    "top": 40,
    "right": "10%",
    "bottom": 80,
    "left": "10%",
    "height": 270
  },
  "xAxis": [
    {
      "nameLocation": "middle",
      "data": [],
      "nameGap": 30,
      "splitLine": {
        "show": false
      },
      "type": "time",
      "position": "bottom",
      "axisLabel": {}
    }
  ],
  "yAxis": [
    {
      "nameLocation": "middle",
      "data": [],
      "nameGap": 30,
      "splitLine": {
        "show": false
      },
      "type": "value",
      "name": "Profondeur (m)",
      "axisLabel": {},
      "min": -40
    }
  ],
  "series": [
    {
      "name": "Mesure",
      "type": "line",
      "connectNulls": false,
      "data": [
        {
          "value": [
            "2017/08/31",
            null
          ],
          "date": 1504186980093
        },
        {
          "value": [
            "2017/09/01",
            -16.84
          ],
          "date": 1504216800000
        },
        {
          "value": [
            "2017/09/02",
            -16.6
          ],
          "date": 1504303200000
        },
        {
          "value": [
            "2017/09/03",
            -16.18
          ],
          "date": 1504389600000
        },
        {
          "value": [
            "2017/09/04",
            -16.26
          ],
          "date": 1504476000000
        },
        {
          "value": [
            "2017/09/05",
            -15.35
          ],
          "date": 1504562400000
        },
        {
          "value": [
            "2017/09/06",
            -14.99
          ],
          "date": 1504648800000
        },
        {
          "value": [
            "2017/09/07",
            -14.92
          ],
          "date": 1504735200000
        },
        {
          "value": [
            "2017/09/08",
            -16.08
          ],
          "date": 1504821600000
        },
        {
          "value": [
            "2017/09/09",
            -16.24
          ],
          "date": 1504908000000
        },
        {
          "value": [
            "2017/09/10",
            -15.44
          ],
          "date": 1504994400000
        },
        {
          "value": [
            "2017/09/11",
            -15.75
          ],
          "date": 1505080800000
        }
      ],
      "lineStyle": {
        "normal": {
          "color": "#3d72d2"
        }
      },
      "itemStyle": {
        "normal": {
          "color": "#3d72d2"
        }
      },
      "markLine": {
        "data": [
          [
            {
              "yAxis": -20.41,
              "xAxis": "2017/08/31",
              "symbol": "none"
            },
            {
              "yAxis": -20.41,
              "xAxis": "2017/09/11",
              "symbol": "none",
              "lineStyle": {
                "normal": {
                  "color": "red",
                  "type": "solid"
                }
              }
            }
          ],
          [
            {
              "yAxis": -26.6,
              "xAxis": "2017/08/31",
              "symbol": "none"
            },
            {
              "yAxis": -26.6,
              "xAxis": "2017/09/11",
              "symbol": "none",
              "lineStyle": {
                "normal": {
                  "color": "grey",
                  "type": "solid"
                }
              }
            }
          ]
        ]
      },
      "markPoint": {
        "symbolSize": 30,
        "data": [
          {
            "xAxis": "2017/09/09",
            "yAxis": -15.82,
            "itemStyle": {
              "color": "blue"
            }
          }
        ]
      },
      "showSymbol": false
    }
  ],
  "title": {
    "text": "Année en cours",
    "left": "center"
  },
  "dataZoom": [
    {
      "type": "inside",
      "start": 0,
      "end": 100
    },
    {
      "start": 0,
      "end": 100,
      "handleSize": "80%",
      "bottom": "0"
    }
  ]
}
```

### Other comments [其他信息]
<!-- For example: Screenshot or Online demo -->
<!-- [例如,截图或线上实例 (JSFiddle/JSBin/Codepen)] -->



[ Full content available at: 
https://github.com/apache/incubator-echarts/issues/8992 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to