Skip to content

Instantly share code, notes, and snippets.

@parmentf
Created November 7, 2014 13:42
Show Gist options
  • Save parmentf/f1c695a757eb4c8dc6ea to your computer and use it in GitHub Desktop.
Save parmentf/f1c695a757eb4c8dc6ea to your computer and use it in GitHub Desktop.
Configuration de ezVis (avec tout plein de choses testées)
{
"title" : "Étude INSU",
"description" : "Utilisation de SB Admin 2 pour Dashboard",
"collectionName" : "sbadmin",
"logFormat": "dev",
"theme": "/home/parmentf/dev/castorjs/castor-theme-sbadmin",
"itemsPerPage" : 2,
"pages" : {
"index" : {
"title" : "Tableau de bord",
"description" : "Tableau de bord de l'étude INSU"
},
"chart" : {
"title" : "Graphique",
"description" : "Détails de l'étude INSU"
},
"documents" : {
"title" : "Documents",
"description" : "Documents de l'étude INSU"
},
"fields" : {
"title" : "Champs",
"description" : "Champs de l'étude INSU"
},
"display" : {
"title" : "Document",
"description" : "Affichage d'un document de l'étude INSU"
}
},
"documentFields" : {
"year" : {
"path" : ["nimp","content.json.Py"],
"coalesce": true,
"label": "Année",
"visible": true,
"textizer": "ensureRight(' ')"
},
"title" : {
"path" : "content.json.Ti",
"label": "Titre",
"visible": true
},
"authors": {
"path" : "content.json.Af",
"label": "Auteurs",
"visible": true
},
"themes" : {
"path" : "content.json.DiscESI",
"label": "Thèmes",
"visible": true,
"textizer": "ensureRight(' ').toLowerCase()"
},
"Auteurs": {
"path" : "content.json.Af",
"label": "Auteurs séparés",
"separator": ";"
},
"Themes" : {
"path" : "content.json.DiscESI",
"label": "Thèmes séparés",
"separator" : ";"
},
"Type" : {
"path" : "content.json.Pt",
"label": "Types"
},
"Source" : {
"path" : "content.json.SourceCorrigee",
"label": "Source corrigée",
"separator" : ";"
},
"Pays" : {
"path" : "content.json.PaysFRERegroupe",
"label": "Pays",
"separator": ";"
},
"Section" : {
"path" : "content.json.SectionEtude",
"label": "Section INSU",
"separator" : ";"
}
},
"display" : {
"fieldsPerPage": 100,
"fields" : {
"fields.title": "Titre",
"content.json.Af": "Auteurs",
"fields.year": "Année de publication",
"content.json.SourceCorrigee": "Source",
"content.json.DiscESI": "Discipline ESI",
"content.json.SectionEtude": "Marquage INSU - Section",
"content.json.La": "Langue de la publication",
"content.json.PaysFRERegroupe": "Pays",
"content.json.Di": "DOI",
"content.json.Ut": "Identifiant WoS"
}
},
"dashboard" : {
"type": {
"path": "content.json.Pt",
"label": "Types de doc."
},
"charts": {
"perSection": {
"field": "fields.Section",
"type": "pie",
"title": "Sections INSU (camembert)",
"legend": {
"position": "right",
"show": false
},
"size": {
"height": 440,
"columns": 6
},
"facets": {
"year": {
"path": "content.json.Py",
"label": "Année"
},
"theme": {
"path": "fields.Themes",
"label": "Thème"
}
}
},
"horizontalThemes": {
"field": "fields.Themes",
"type": "horizontalbars",
"title": "Thèmes (barres)",
"size": {
"height": 440,
"columns": 5,
"offset": 1
}
},
"perYear": {
"field": "content.json.Py",
"type": "histogram",
"title": "Années",
"size": {
"height": 200
},
"color": "#ff7a85"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment