ArcGIS for Desktop

  • Dokumentation
  • Preise
  • Support

  • My Profile
  • Hilfe
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

Die Mapping-Plattform für Ihre Organisation

ArcGIS for Desktop

Ein vollständiges professionelles GIS

ArcGIS for Server

GIS in Ihrem Unternehmen

ArcGIS for Developers

Werkzeuge zum Erstellen standortbezogener Apps

ArcGIS Solutions

Kostenlose Karten- und App-Vorlagen für Ihre Branche

ArcGIS Marketplace

Rufen Sie Apps und Daten für Ihre Organisation ab.

  • Dokumentation
  • Preise
  • Support
Esri
  • Anmelden
user
  • Eigenes Profil
  • Abmelden

Help

  • Startseite
  • Erste Schritte
  • Karte
  • Analysieren
  • Verwalten von Daten
  • Werkzeuge
  • Mehr...

GraphTemplate

  • Zusammenfassung
  • Diskussion
  • Syntax
  • Codebeispiel

Zusammenfassung

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.

Diskussion

Vorlagendateien werden im Ordner "GraphTemplates" abgelegt, der sich in einer ArcGIS-Installation an zwei Orten befinden kann. Zum einen kann der Ordner "GraphTemplates" im Installationsverzeichnis von ArcGIS gespeichert sein, normalerweise unter C:\Programme\ArcGIS\Desktop10.2\GraphTemplates.

Eine andere Möglichkeit ist das Windows-Verzeichnis "Dokumente und Einstellungen" unter "Anwendungsdaten" für Esri Software. Der Pfad lautet etwa wie folgt: C:\Dokumente und Einstellungen\Benutzername\Anwendungsdaten\ESRI\ArcMap\GraphTemplates.

Syntax

GraphTemplate
 (templateName)
ParameterErläuterungDatentyp
templateName

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

String

Codebeispiel

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)

Verwandte Themen

  • Graph
  • Diagramm erstellen
  • Grundlagen zu Diagrammvorlagen
Feedback zu diesem Thema?

ArcGIS for Desktop

  • Startseite
  • Dokumentation
  • Preise
  • Support

ArcGIS Plattform

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

Über Esri

  • Über uns
  • Karriere
  • Insider-Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Datenschutz | Rechtliches