ArcGIS for Desktop

  • Documentation
  • Tarification
  • Support

  • My Profile
  • Aide
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS for Desktop

Un SIG professionnel complet

ArcGIS for Server

SIG dans votre entreprise

ArcGIS for Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Tarification
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

Help

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Plus...

GraphTemplate

  • Récapitulatif
  • Discussion
  • Syntaxe
  • Exemple de code

Récapitulatif

Graph templates allow you to create graphs from different datasets that have the same basic structure. The template file contains all the information necessary to create those graphs, except the actual data. Once the template is loaded, you can specify the particular data source you want to use.

Discussion

Les modèles de fichiers sont stockés dans un dossier intitulé GraphTemplates pouvant être placé à deux endroits lors d'une installation ArcGIS. Le premier emplacement du dossier GraphTemplates se situe dans le répertoire d'installation de votre application ArcGIS, généralement C:\Program Files\ArcGIS\Desktop10.2\GraphTemplates.

L'autre fichier est placé dans le dossier Documents and Settings de Windows du répertoire Application Data du logiciel Esri. Le chemin d'accès doit être similaire au suivant : C:\Documents et Settings\UserName\Application Data\ESRI\ArcMap\GraphTemplates.

Syntaxe

GraphTemplate
 (templateName)
ParamètreExplicationType de données
templateName

The graph template (.tee) used to construct the graph template. By default, uses default.tee.

String

Exemple de code

GraphTemplate example

Create a graph using a graph template.

import arcpy

input_data = 'c:/data/portland.gdb/downtown'
out_graph = 'portland_graph'
out_grf = 'c:/output/downtown_graph.grf'

graph = arcpy.Graph()
graph.addSeriesBarVertical(input_data, 'Value')

arcpy.MakeGraph_management(arcpy.GraphTemplate(), graph, out_graph)
arcpy.SaveGraph_management(out_graph, out_grf)

Thèmes connexes

  • Graph
  • Créer un diagramme
  • Notions de base des modèles de diagrammes
Vous avez un commentaire à formuler concernant cette rubrique ?

ArcGIS for Desktop

  • Accueil
  • Documentation
  • Tarification
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog des initiés
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Confidentialité | Légal