Closed bajiat closed 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.
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:
@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:
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?
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.
If the charting library is still not selected, my suggestion is to go with NVD3.
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:
@brylie @frenchbread I'd have a look at today on this.
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.
Goal
NOTE: aggregation work is ongoing in issue #2556
Charting library goal
Choose between the following chart libraries: