An interactive multi-line chart.
Note, I borrowed a bit of code from Duopixel's excellent code sample here.
Built with blockbuilder.org
An interactive multi-line chart.
Note, I borrowed a bit of code from Duopixel's excellent code sample here.
Built with blockbuilder.org
| import arcpy | |
| import arcpy.da as da | |
| import arcgiscsv | |
| class Toolbox(object): | |
| def __init__(self): | |
| """Define the toolbox (the name of the toolbox is the name of the | |
| .pyt file).""" | |
| self.label = "Export to CSV Toolbox" | |
| self.alias = "csv" |
| postCreate: function(){ | |
| // Create a new constructor by mixing in the components | |
| var CustomGrid = declare([ Grid, Keyboard, Selection, GridRegistry ]); | |
| var columns = [ | |
| { | |
| label : ' ', | |
| field : 'deletelink', |
| # Import system modules | |
| import urllib, urllib2, json | |
| import sys, os | |
| import requests | |
| import arcpy | |
| import ConfigParser | |
| from xml.etree import ElementTree as ET | |
| def urlopen(url, data=None): |
| /** | |
| * Return a timestamp with the format "m/d/yy h:MM:ss TT" | |
| * @type {Date} | |
| */ | |
| function timeStamp() { | |
| // Create a date object with the current time | |
| var now = new Date(); | |
| // Create an array with the current month, day and time |