Tree Xie

Results 169 comments of Tree Xie

The sample graph generated after adjustment is incorrect, and the test code also needs to be adjusted.

可以参考示例:http://pingap.io/pingap-zh/docs/argument#%E9%85%8D%E7%BD%AE%E4%BF%9D%E5%AD%98%E5%9C%A8etcd

暂时只支持了dns的服务发现,后续版本再支持更多的形式。

Sorry, it is not supported.

@kevincobain2000 Maybe you can try `charts-rs`, web demo: https://charts.npmtrend.com/

`github.com/wcharczuk/go-chart` only supports these draw functions, I think drawing rounded rect is difficult. ```go // MoveTo moves the cursor to a given point. MoveTo(x, y int) // LineTo both starts...

@kevincobain2000 Please use the latest version. ```go // custom option func func(opt *charts.ChartOption) { opt.SeriesList[1].RoundRadius = 10 opt.SeriesList[1].MarkPoint = charts.NewMarkPoint( charts.SeriesMarkDataTypeMax, charts.SeriesMarkDataTypeMin, ) opt.SeriesList[1].MarkLine = charts.NewMarkLine( charts.SeriesMarkDataTypeAverage, ) }, ```

Yes, It should support a four position radius setting.

@abhijitpawar12 The latest version supports now.

1. Add theme: `charts.AddTheme("myTheme",....)`, https://github.com/vicanso/go-charts/blob/main/theme.go#L124 2. Set the chart's theme: ```go func(opt *charts.ChartOption) { opt.Theme = "myTheme" }, ```