From 62d8346f3d809d4f7b8350fa9751ac9683083bb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Garc=C3=ADa?= Date: Mon, 28 Aug 2023 12:47:59 +0200 Subject: [PATCH] Clarify axes error when building data frame --- src/app/facet/list-facet/list-facet.component.ts | 5 +---- src/assets/rhizomikEye.png | Bin 2 files changed, 1 insertion(+), 4 deletions(-) mode change 100755 => 100644 src/assets/rhizomikEye.png diff --git a/src/app/facet/list-facet/list-facet.component.ts b/src/app/facet/list-facet/list-facet.component.ts index 63cc1b3..ce01cf8 100644 --- a/src/app/facet/list-facet/list-facet.component.ts +++ b/src/app/facet/list-facet/list-facet.component.ts @@ -356,12 +356,11 @@ export class ListFacetComponent implements OnInit, OnDestroy { const new_url = url[0]+ '/' + url[1]+ '/' + url[2] + '/charts:' + this.extractFromURI(this.possiblePoints[0][1]) + '&id' this.router.navigate([new_url]) - } createDataFrame() { if (this.selectedAxe1 == this.selectedAxe2 || this.selectedAxe1 == null || this.selectedAxe2 == null){ - alert("Not OK!") + alert("Error creating data frame based on the selected axes") } else { this.chartRepresentation = true; const url = this.route.snapshot.url.toString().split(','); @@ -424,7 +423,6 @@ export class ListFacetComponent implements OnInit, OnDestroy { } } - detectAxes(top, axesClassification){ const returnAxes = []; for (const attribute in axesClassification){ @@ -446,7 +444,6 @@ export class ListFacetComponent implements OnInit, OnDestroy { return name; } - // resources, ............................, numericalClassification: {} chartRoleClassifier(json_input: Description, background_axes, background_numerical){ const json_object = JSON.parse(json_input.asJsonLd()); for (const attribute in json_object){ diff --git a/src/assets/rhizomikEye.png b/src/assets/rhizomikEye.png old mode 100755 new mode 100644