diff --git a/src/components/Map/LegendComponent.js b/src/components/Map/LegendComponent.js index 822ca825babe8ecd1f8842af9ec70d205e745ce3..922a80223d98515079c0cf58f59266ff740f6bdf 100644 --- a/src/components/Map/LegendComponent.js +++ b/src/components/Map/LegendComponent.js @@ -64,6 +64,7 @@ class LegendComponent extends MapControl { this.legend.onAdd = () => { this._div = L.DomUtil.create("div", "legend"); + //console.log(this._div) this.legend.update() let labels = ['']; diff --git a/src/components/Map/MapComponent.js b/src/components/Map/MapComponent.js index e12254c827c3722533fbc207d466b6069af03480..0c1e0ec2290202094b6b802869c312c84176bc11 100644 --- a/src/components/Map/MapComponent.js +++ b/src/components/Map/MapComponent.js @@ -176,8 +176,8 @@ function MapComponent(props) { return percentageToHsl(dimPercent / 100, 0, 300) } else { // color by region - if (dim === indicador.locationBuilding + '_id') return 'blue' // color marks - //console.log("oi") + if (dim === indicador.locationBuilding + '_id') + return 'blue' // color marks const locationObj = filters[borderDim].data.find((obj) => obj.id === parseInt(value)) if (locationObj !== undefined) { if (locationObj[getUpperDim(borderDim) + '_id'] === filters[getUpperDim(borderDim)].value) { diff --git a/src/data/groups.js b/src/data/groups.js index 3ba47f037017cefd534b473beedb6a1cdd2cfbab..646c34c66d32092f246cfc50e342f6e3a46168d5 100644 --- a/src/data/groups.js +++ b/src/data/groups.js @@ -41,7 +41,7 @@ const groups = { ], }, adequacao_disciplina: { - title: 'FORMAÇÃO DOCENTE NA EDUCAÇÃO BÁSICA DE ACORDO COM PÓS-GRADUÇÃO', + title: 'ADEQUAÇÃO DISCIPLINA', routes: ['disciplines'], dims: ['discipline', 'year'], tables: [ @@ -69,6 +69,18 @@ const groups = { extraFilters: {state: {value: 41}}, } ], + charts: [ + { + title: 'PERCENTUAL DE ADEQUAÇÃO DA FORMAÇÃO DOCENTE', + route: 'disciplines', + dim: 'discipline', + type: 'bar', + years: [2019, 2019], + notes: ['Fonte: Elaborado pelo Laboratório de Dados Educacionais a partir dos Microdados do Censo de Educação Superior/INEP 2018.'], + education: 'basic', + extraFilters: {state: {value: 41}}, + } + ], }, formacao_em_licenciatura: { title: 'FORMAÇÃO DOCENTE NA EDUCAÇÃO BÁSICA DE ACORDO COM PÓS-GRADUÇÃO', diff --git a/src/data/indicadores.js b/src/data/indicadores.js index c6415a94fc98088d81094143feec49ad51a11af2..cbbed192c0545012be300c86b9de4d85a6bcbd47 100644 --- a/src/data/indicadores.js +++ b/src/data/indicadores.js @@ -13,7 +13,7 @@ const indicadores = { color: '', percentKey: 'initial_training_id', percentValues: [], - },/* + }, adequacao_disciplina: { route: 'disciplines', routeDim: 'discipline', @@ -26,7 +26,7 @@ const indicadores = { color: 'percent', percentKey: 'discipline_id', percentValues: [1], - },*/ + }, formacao_em_licenciatura: { route: 'teacher', routeDim: 'licentiate_degree',