-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: this.chartConfig.series[0] is undefined Main-production.js:1 #195
Comments
Hi @dcherix, i was able to reproduce your error and will look into it next week, hopefully at Monday (working part time on CubeViz). There are DataCube Vocabulary provides over 20 check constraints, which are ASK SPARQL queries to validate the cube. Maybe you could find the time to check your cube, if its valid? It seems all the data are available, but CV could not connect selected dimensions with observations to display. |
No explicit declaration of dimension elementsI think the problem is, that your cube lacks a connection between the dimension http://www.geoknow.eu/properties/Class and their related dimension elements. Sure, your observations have the right properties, for instance
but there is no explicit definition of the dimension elements themselves in the cube. CubeViz itself outputs the following information, after i select all dimension elements of that Class-dimension: As you can see, there are no key-value-pairs concerning dimension/dimension elements. Usually you have keys representing selected dimensions and values representing the according dimension elements. These dimension element may exist in the cube, but if there are no dimension elements defined, CubeViz will not recognize them later on, when building the frontend visualization. Activate development mode in CubeVizYou can active the development mode in CubeViz to see such information like in the screenshot above using console of your browser (F12 in Chrome e.g.) by replacing the following line in the doap.n3 file of CubeViz:
with that one:
Alternative cube for testing purposeI created a small potion of the Scoreboard 2012 of the European Union that you can use in your CubeViz installation: https://gist.github.com/k00ni/8a18447c04d48d5cc7c1 It should produce an output like this: You should use this cube to get an idea of how a cube might look like. Furthermore, please consider to use more meaningful URIs for cube elements such as dimensions (e.g. add dim into the URI to indicate that its a dimension). It was really hard to see what elements you use in your cube. |
I have added the dimension definition to the file, but it's not working. |
Could you please provide the updated version of your datacube? Furthermore, did you got any more information about the integrity of your datacube by executing these check constraints? I ran into many problems creating datacubes, when i started working on this topic in 2012. So, i know how frustrating it could be. My suggestion is that you start from scratch with 1 observation, 1 dsd, 1 ds, 1 measure, 1 dimension and 1 dimension element. If you got that, try it with CubeViz. Keep in mind, that RDF is case-sensitive. Please let me know, if when you get new results. |
I have updated the cube in github so you can download it under https://raw.githubusercontent.com/GeoKnow/GeoQuality/didier/GeoKnow-SpatialDQ/datacubes/unister/unister_urn%3Aunister-hotel-reviews1-6.ttl It's still not possible to visualize the cube with the provided vm. |
This cube https://github.com/GeoKnow/GeoQuality/blob/master/GeoKnow-SpatialDQ/datacubes/NUTS/NUTS-metric1-6.ttl is not visualizable too. If you select the averageSurface part oft the dataset you run in the same problem if you use the provided vm. With an other installation of cubeviz (laptop from Saleem) it's possible to visualize this cube. |
What commit of CubeViz is Saleem running? |
With the dataset: https://raw.githubusercontent.com/GeoKnow/GeoQuality/didier/GeoKnow-SpatialDQ/datacubes/unister/unister_urn%3Aunister-hotel-reviews1-6.ttl
Part of Dataset selected: Instance_Count_
Component Specification of Class: Hotel and Person are selected
I have the following issue:
The text was updated successfully, but these errors were encountered: