go-echarts / go-echarts

🎨 The adorable charts library for Golang.
https://go-echarts.github.io/go-echarts/
MIT License
6.58k stars 563 forks source link

Can go charts support the drawing of more loaded time series diagrams #38 #315

Open fenggolang opened 1 year ago

fenggolang commented 1 year ago

May I ask if the go charts library can support the drawing of the following sequence diagrams,

Obtain time series data from Prometheus for plotting, and the final time series diagram type is as follows:

image

Koooooo-7 commented 1 year ago

Hi @fenggolang IIUC, there is two questions.

  1. Does go-echarts support series data drawing on time dynamicly ? I would say yes or no. If you could dynamic update the dataset, charts could be updated either. (It's more js script efforts.)

  2. Does go-echarts support this kind of chart? I searched the common charts here, the echats demos. AFAIK, there is no a out of box way to make it on go-echats.

So, personnally, I would say taking a pure echarts way to get those charts should be easier.

terranvigil commented 2 months ago

Set: opts.XAxis{ Type: "time" }