flutter_echarts icon indicating copy to clipboard operation
flutter_echarts copied to clipboard

iphone 8plus 中echarts会有边框

Open lijingchao0 opened this issue 3 years ago • 2 comments

1616147925621

lijingchao0 avatar Mar 19 '21 09:03 lijingchao0

Container( width: ScreenUtil().setWidth(506), height: ScreenUtil().setHeight(300.0), color: Colors.white, alignment: Alignment.center, padding: EdgeInsets.only( left: ScreenUtil().setWidth(40), right: ScreenUtil().setWidth(40),bottom: ScreenUtil().setHeight(20)), child: Echarts(option: ''' { grid:{ left:0, right:0, bottom:20, top:20, }, xAxis:[ { type: 'category', boundaryGap: true, position:'bottom', axisLine:{ show:false, lineStyle:{ color:'rgba(239,239,239,1)' } }, axisLabel:{ show:true, interval:0, color:'rgba(153,153,153,1)', fontSize:$textsize, }, show:true, axisTick:{ show:false, interval:0, }, data: $xdata }, { type: 'category', boundaryGap: true, position:'top', show:true, axisLabel:{ show:false, interval:0, color:'rgba(153,153,153,1)', fontSize:$textsize, }, axisLine:{ show:true, lineStyle:{ color:'rgba(239,239,239,1)' } }, axisTick:{ show:false, interval:0, }, data: $xdata }, ], yAxis: [{ type: 'value', show:false, inverse:true, axisTick:{ show:false, } }, { type: 'value', show:false, inverse:false, axisTick:{ show:false, } } ], series: [{ data: $ydata, type: 'line', symbolSize:6, lineStyle:{ color:'rgb(197, 41, 34, 1)' }, xAxisIndex:1, yAxisIndex:0, label:{ show:true, fontSize:$textsize, }, areaStyle: { origin:'end', color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{ offset: 0, color: 'rgb(255, 229, 227, 1)' }, { offset: 1, color: 'rgb(255, 255, 255, 1)' } ], false),

            }
    }]
}
  '''),
        ),

lijingchao0 avatar Mar 20 '21 01:03 lijingchao0

Since based on webview, this library has some inextirpable unstability and performance issues. We recommand the Flutter charting library Graphic as alternative.

entronad avatar Oct 27 '21 14:10 entronad