You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/01/30 07:43:02 UTC

[GitHub] mariazahidd opened a new issue #9872: Echarts 3.4.4 markLine plotting wrong with for values less than 0.01

mariazahidd opened a new issue #9872: Echarts 3.4.4 markLine plotting wrong with for values less than 0.01
URL: https://github.com/apache/incubator-echarts/issues/9872
 
 
   I have a ECharts line chart where I am setting a target using markline. The problem is that, echarts is not plotting markLine correct with values less than 0.01.
   ```
   {
       name: 'target',
       markLine: {
        data: [{ yAxis: 0.0064}]
       }
   }
   ```
   Here is the full code,
   ```
   {
    name: 'target',
    type: 'line',
    animation: false,
    symbol: 'none',
    silent: true,
    itemStyle: {
      normal: {
        lineStyle: {
         type: 'dashed',
         width: '1',
         color: 'blue'
        }
      }
    },
    markLine: {
     symbol: 'none',
     data: [{ yAxis: 0.0064}],
     label: {
       normal: {
        show: false
       }
     },
     itemStyle: {
       normal: {
         lineStyle: {
           type: 'dashed',
           width: '1',
           color: 'blue'
         }
       }
     }    
    }
   ```
   Other series are plotted correctly with values less than 0.01.
   
   I have attached screenshot. You can see blue dotted markLine is not plotted at 0.0064 but other series' point is plotted correctly at 0.0054
   ![targetlineissue](https://user-images.githubusercontent.com/29012463/51965815-7779c080-248c-11e9-8293-b88e31ba9bcf.PNG)
   
   Echarts version : 3.4.4

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org