Charting View not displaying on first click?
Hi there,
I have created charts and decided to edit the viewers desktop.json.js config file so that when a user clicks on the map charts will display. This works perfectly. The event that i edited was the MapOnClickBehaviour. See sample below.
"behaviors" [
{
"name": "MapOnClickBehavior",
"commands": [
"Identify",
"ShowChartingView"
]
],
However, the first click never seems to return charts, only on the second click does the charting module appear. I thought this may be because the Identify command has not had time to finish running before the ShowChartingView command runs, but thought i would try get some more opinions and maybe a fix if anyone has had a simmilar issue.
Regards,
Cam
0
-
Did you ever solve this? I know I have to put a 2000 milisecond delay in my workflows to get the "ShowChartView" to perform correctly.
I would be interested in doing this on startup of a viewer like your doing however.0
Please sign in to leave a comment.
Comments
1 comment