apinf / platform

Apinf - Open source API management platform with multi proxy and protocol support
https://apinf.com/
European Union Public License 1.1
74 stars 33 forks source link

Choose Dashboard chart library #2503

Closed bajiat closed 7 years ago

bajiat commented 7 years ago

Goal

NOTE: aggregation work is ongoing in issue #2556

Charting library goal

Choose between the following chart libraries:

frenchbread commented 7 years ago

FYI the current, "fresh", implementation of an EMQ dashboard uses NVD3 charting library in addition to aggregated data requests from ES, so it can be used as a starting point. emq-analytics-dashboard repo. Moveover data like topics lists and event types are also fetched from ES in separate requests, which makes the dashboard more dynamic.

brylie commented 7 years ago

I don't want to contribute to 'analysis paralysis', but I recently learned about a library called ECharts.

ECharts is created by Baidu and is used in API Umbrella. It seems really well designed, with

Possible downsides might include:

frenchbread commented 7 years ago

@brylie Nice one. ECharts has some good tools which you can interact with right on the chart. The scariest part though, when moving to a new charting lib, is a chance to loose data synchronisation feature between charts (IMO), supported by crossfilter currently, but looks like it is somehow supported by ECharts:

Image

In addition, we need to decide what we need from the dashboard and what to show there. Using aggregated data means getting rid of data table (at least out of the box).

@kyyberi Do you have some vision on that?

kyyberi commented 7 years ago

Unfortunately I have no time to follow Github issues. Design issues such as this should be discussed face to face at the office when ever there is need and chance for it.

frenchbread commented 7 years ago

If the charting library is still not selected, my suggestion is to go with NVD3.

brylie commented 7 years ago

Alright, we are traveling right now and @marla-singer is on vacation, so I wanted to give the decision one more week or so :smiley_cat:

Nazarah commented 7 years ago

@brylie @frenchbread I'd have a look at today on this.

55 commented 7 years ago

Agree here with @frenchbread. @apinf/developers are already familiar with DC and NVD3. ECharts is good project, but I haven't found enough reasons to switch to it.

P.S. also it looks like 90%+ Github issues discussions are in chinese.