IDEA
|
Oh that is great news, Mr. Flater! We (the team and I) greatly appreciate you considering this functionality for a future release. The charts in Pro are great, and these multi-year line series are the most popular w/ my customer. This capability, in Pro, would really open some doors for us. Looking forward to seeing how it plays out. Thanks again, cg.
... View more
04-27-2022
05:36 PM
|
0
|
0
|
450
|
IDEA
|
A date field can be used for the axis of charts in Pro. Unfortunately, it doesn't appear that the date can be formatted to a user's desire like numerical fields used as an axis. Even if it were some back-door route via the CIM, it would be great if a bit of Arcade, python, or whatever could be used to arrive at a specific, consistent formatting of dates along the axis (e.g., MMM d [i.e., no year]). See my other question post for more details on this topic: https://community.esri.com/t5/arcgis-pro-questions/can-dates-used-for-the-axis-of-a-multi-year-line/m-p/1163708
... View more
04-19-2022
09:02 AM
|
1
|
2
|
549
|
POST
|
Thank you again for your time, efforts, and ideas w/ this. I appreciate it. I've actually made an add-in for Pro that uses some other charting APIs (e.g., Live Charts and ScottPlot). In other situations I've used Matplotlib and Bokeh to solve problems. With this issue, however, the Pro charting route would really seal the deal for me if I could just figure out this date formatting. It seems like one can format numbers along the axis, but, for whatever reason, I can't seem to do the same for dates. The Pro charts are nice and dovetail nicely into layouts, workflows, etc..
... View more
04-12-2022
06:11 PM
|
0
|
0
|
646
|
POST
|
Thanks for the reply. Yes, I'd seen this in doing some investigation into my issue, but this appears to be for charts pulled from multidimensional or mosaic dataset data. In my situation the data is pulled from an non-spatial RDMBS and just associated with features in the map. Also, I forgot to mention, when plotting shorter time intervals along the x-axis I do see changes in the format of the dates (e.g., the year disappears when plotting a few months). However, I can't see a way to control that myself. I've tried going into the tabular data, prior to charting, and adjusting the format there first. That works nice for viewing the data in tabular view, but it is not then conveyed to the chart when plotting it. As mentioned a user could get around this w/ ArcGIS Desktop and the substitute label/column capability, but I can't seem to find an analog in Pro.
... View more
04-12-2022
04:49 PM
|
0
|
0
|
653
|
POST
|
Multi-year line-series charts are important to the group I work for. In Desktop, these kinds of graphs could be created since the option was there to use another attribute for the labeling along a given axis (i.e., use a numerical or date field to plot the data, but label it with human-friendly text). In Pro, as you can see in the attached example, I can create a line-series chart and use a date field for the x-axis. I'm stuck, however, with the date format provided, and I don't see a way to change it. With Arcade, python, Pro SDK, etc. ... I'd work with anything if there's a way. Thank you, cg.
... View more
04-12-2022
03:35 PM
|
0
|
4
|
687
|
POST
|
Thank you, Uma, for that info. That would be useful to implement down the line, at least for us. So, I tinkered around w/ the code a little bit, given your feedback, and am creating/populating the map and configuring time without it being opened if no map is active. I then open the Map and listen for the DrawCompleteEvent on the appropriate MapView. I then zoom to an extent/time and that seems to have all the desired temporal settings in place. If the user already has a map active without time enabled, I close the pane, configure time, and re-open it. And lastly, if they already have a map open w/ time configured, I just add the time-enabled layer and the time configuration is on them. Hopefully this is an acceptable work around until you all possibly implement that SetDefinition enhancement, but... I shall test this out more. Thanks again, cg.
... View more
08-05-2019
08:28 AM
|
0
|
0
|
475
|
POST
|
I'd like to be able to set the Pro's Time Slider up w/ some initial settings should the user not have already done so. This would be useful when a time-capable layer is added and would save the user some steps (e.g., given a data source, set an applicable "Current Time" (works), step, snapping, etc.). Other than that current time, however, everything else I set seems to be ignored using the code below. I brought up the CIM Viewer, and, funny enough, my settings seem to show up in the map's CIM xml, but aren't reflected in the slider. Changing things on the slider and refreshing the CIM Viewer does update the XML, but, when I attempt to do so the other way, the changes aren't reflected in the slider. I'm at a loss and likely going about this wrong. I appreciated any ideas anyone might have. Thanks. // first line works fine w/ a range created and set to applicable start/end MapView.Active.Time = timeRange; CIMMap cimMap = _map.GetDefinition(); CIMSliderSettings slider = cimMap.TimeSliderSettings ?? new CIMSliderSettings(); slider.InteractionMode = SliderInteractionMode.Slider; slider.StepOption = SliderStepType.Interval; slider.StepIntervalValue = 1; slider.StepIntervalUnit = "days"; slider.StepUsesWindow = false; slider.UseTimeSnapping = true; slider.TimeSnapMode = TimeSnapMode.Single; slider.SingleTimeSnapUnit = "days"; slider.IsMinimized = false; cimMap.TimeSliderSettings = slider; MapView.Active.Map.SetDefinition(cimMap);
... View more
08-01-2019
03:27 PM
|
0
|
2
|
662
|
POST
|
A big thanks to Kimberly (ESRI support) and ESRI for figuring this out for me. Here's how to work this using a definition expression which gets the job done for my needs. Map _map = await FindOpenExistingMapAsync("Map"); string layerName = "Landsat\\MS"; string imgServicePath = "http://landsat.arcgis.com/arcgis/rest/services/Landsat/MS/ImageServer"; ImageServiceLayer isLyr = null; await QueuedTask.Run(() => { isLyr = (ImageServiceLayer)LayerFactory.Instance.CreateRasterLayer(new Uri(imgServicePath), _map, LayerPosition.AutoArrange, layerName); CIMImageServiceLayer cimLyr = isLyr.GetDefinition() as CIMImageServiceLayer; CIMFeatureTable cimTable = cimLyr.FeatureTable; cimTable.DefinitionExpression = "Name IN ('LC80440302019155LGN00','LC80440312019155LGN00')"; Layer layer = isLyr as Layer; layer.SetDefinition(cimLyr); });
... View more
07-10-2019
05:29 AM
|
0
|
0
|
457
|
POST
|
Yes, that did work when I did it manually (i.e., setting definition query of layer added). Is there a way to programmatically do the same thing, as I couldn't figure that out. I'd assume the where clause of the mosaic rule, which worked in ArcObjects, would work in the Pro SDK. Thanks for your help, cg.
... View more
06-17-2019
11:39 AM
|
0
|
0
|
457
|
POST
|
I'm attempting to set the WhereClause on a MosaicRule against the ESRI Landsat imagery service. I can lock the raster to a list of ObjectIds, but a something like Name='LC82220782017324LGN00' doesn't work. I use to do something similar in ArcObjects with no issue. Am I doing something wrong? Thanks for your time, cg.
... View more
06-10-2019
02:54 PM
|
0
|
3
|
599
|
POST
|
Hi Peter! Were you ever able to figure this out? I've bumped into this too, and I am close to rewriting this process of mine using a different API. I greatly appreciate you putting this question out there. -cg
... View more
02-03-2015
03:23 PM
|
0
|
1
|
647
|
POST
|
A brief follow up... this is now a logged as a bug w/ ESRI... http://support.esri.com/en/bugs/nimbus/TklNMDg1NDA0
... View more
08-01-2013
12:16 PM
|
0
|
0
|
147
|
POST
|
To follow up, I found out from ESRI that the answer to this question is 'No'. You can't alter the JVM used by ArcGIS to run Add-Ins.
... View more
08-01-2013
12:09 PM
|
0
|
0
|
152
|
POST
|
Prior to ArcGIS Desktop 10, the Java Configuration Tool allowed one to specify an alternate JVM (http://resources.esri.com/help/9.3/arcgisserver/adf/java/help/doc/5ea8aa1a-0b3e-46c1-8589-757bdc50d4d1.htm). In 10.1 that is no longer an option, as far as I can tell. I noticed that between 10.0 and 10.1 the JRE rolled back one update. I'm noticing some issues w/ a Java add-in I created that works fine in 10.0, and I would like to rule out the JVM change. Can I change the default JVM setting? Thanks in advance, cg.
... View more
07-24-2013
05:33 AM
|
0
|
1
|
556
|
POST
|
A .Net solution is given, but I can't seem to find the GPToolCommandHelper object in the Java ArcObjects world. http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000001rz000000 As a work-around I am injecting VBA code to accomplish the task using IVbaApplication.insertCode, but I need to move from this. Any help would be enormously appreciated.
... View more
09-25-2012
06:41 AM
|
0
|
1
|
669
|
Title | Kudos | Posted |
---|---|---|
1 | 04-19-2022 09:02 AM |
Online Status |
Offline
|
Date Last Visited |
10-28-2022
02:29 PM
|