Closed k00ni closed 7 years ago
Configuration example:
var configuration = {
ui_container: 'react',
data_source: {
value: 'https://raw.githubusercontent.com/AKSW/cubeviz.ontowiki/master/assets/serbia.n3'
},
ui_configuration: {
show_ui_elements: false,
measure: 'http://purl.org/linked-data/sdmx/2009/measure#obsValue',
attribute: 'http://elpo.stat.gov.rs/lod2/RS-DIC/esa95-unit/RT_GDP',
dimension_elements: ['http://elpo.stat.gov.rs/lod2/RS-DIC/geo/RS', 'http://elpo.stat.gov.rs/lod2/RS-DIC/time/Y2005', 'http://elpo.stat.gov.rs/lod2/RS-DIC/time/Y2006'],
chart_name: 'heatmap'
}
};
TODO:
Please use the following configuration (move data_source part):
ui_configuration: {
show_ui_elements: false,
chart_name: 'heatmap'
},
data_configuration: {
source: 'http://...',
measure: 'http://purl.org/linked-data/sdmx/2009/measure#obsValue',
attribute: 'http://elpo.stat.gov.rs/lod2/RS-DIC/esa95-unit/RT_GDP',
dimension_elements: ['http://elpo.stat.gov.rs/lod2/RS-DIC/geo/RS', 'http://elpo.stat.gov.rs/lod2/RS-DIC/time/Y2005', 'http://elpo.stat.gov.rs/lod2/RS-DIC/time/Y2006'],
}
Please add dataset information to data_configuration part.
Final config:
ui_configuration: {
ui_container: 'react',
show_ui_elements: false,
chart_name: 'heatmap'
},
data_configuration: {
source: 'http://...',
measure: 'http://purl.org/linked-data/sdmx/2009/measure#obsValue',
attribute: 'http://elpo.stat.gov.rs/lod2/RS-DIC/esa95-unit/RT_GDP',
dimension_elements: ['http://elpo.stat.gov.rs/lod2/RS-DIC/geo/RS', 'http://elpo.stat.gov.rs/lod2/RS-DIC/time/Y2005', 'http://elpo.stat.gov.rs/lod2/RS-DIC/time/Y2006'],
}
configuration= { ui_configuration : { show_ui-elements : false } }