ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

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
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

ArcMap

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

GraphTemplate

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

Résumé

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

Template files are maintained in a folder called GraphTemplates, which can be in two places in an ArcGIS installation. One location for the GraphTemplates folder is under the ArcGIS installation, the second is within the application data folders for Windows.

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)

Rubriques connexes

  • Graph
  • Créer un diagramme
  • Notions de base des modèles de diagrammes

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS Platform

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

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog d’Esri
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2019 Esri. | Confidentialité | Légal