You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2020/07/27 12:43:50 UTC

[incubator-streampipes] branch dev updated: Change order of label in line chart

This is an automated email from the ASF dual-hosted git repository.

zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new b9cefaf  Change order of label in line chart
b9cefaf is described below

commit b9cefaf1cc5b174a21463f1016c07a9a112f4e42
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Mon Jul 27 14:43:31 2020 +0200

    Change order of label in line chart
---
 ui/src/app/core-services/datalake/datalake-rest.service.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/app/core-services/datalake/datalake-rest.service.ts b/ui/src/app/core-services/datalake/datalake-rest.service.ts
index c83e950..a326d57 100644
--- a/ui/src/app/core-services/datalake/datalake-rest.service.ts
+++ b/ui/src/app/core-services/datalake/datalake-rest.service.ts
@@ -104,8 +104,8 @@ export class DatalakeRestService {
     get_timeseries_labels() {
         // mocked labels
         const labels = {
+          coffee: ['coffee', 'coffee special', 'espresso', '2x espresso', 'hot water', 'undefined'],
           state: ['online', 'offline', 'active', 'inactive'],
-          coffee: ['coffee', 'coffee special', 'espresso', '2x espresso', 'hot water'],
           trend: ['increasing', 'decreasing'],
           daytime: ['day', 'night']};
         return labels;