i am working on shiny app.i want to divide my app into two parts. i want like that when i click on 1st tab it redirects to specific portion and same as for 2nd tab.Both scripts will be different from one another there will be no mutual functions or anything between them.how can i do this ?
Related
I have 2 different shiny apps, and I would like to show them one after ther other (the first should be a survey and the second a memory game).
I tried to find a solution, but I never found exacly what I am looking for. Maybe a third app that combines them?
The only thing I found is :
Switch between two shiny apps in one
But:
You have to click on which app do you want to start, and I want it to be automatically (so that the users won't play the game before the survey)
When I upload it to shinyapps it raises an error
Thanks!
On my Main tab in my Anylogic model I have a GIS Map. In another tab (from one of my agent populations), I have a graph (created from a time measurement within this agent). Whenever I run the model, the graphs of those agents are shown within the GIS Map (the same way the agents are placed on the map), as can be seen in the figure below. However, I want the graph to be shown next to the GIS Map (like the pyCommunicator and other parts shown above the map). Whatever I try (I placed the graph outside/inside the frame in the agent's tab), it stays within the GIS Map when running. Does anybody know how to solve this problem?
Easier way is to create the graphs directly in the Main agent. For that, you should reference to the specific instance of the Terminal agent. For example terminals(0).end.distribution.
You also need to drag and drop Terminal agent into the Main.
I am currenty setting up a new dashboard in application insights to monitor our applications in detail. To do so, I am logging custom events from my application, and using a log query, I generate a Stacked Column Chart. Like so:
Chart. Notice that I am grouping on multiple dimensions, and the generated chart lets me pick which Dimension I want. (As documented here: https://learn.microsoft.com/en-us/azure/azure-monitor/log-query/charts#multiple-dimensions)
Now, when I pin this chart to my dashboard, I lose the ability to pick the dimension I want to see there. (Dashboard chart) Is there some way to retain this, or do I have to create and pin multiple charts, one for each dimension?
You are right. Changing the dimensions of existing parts are not supported yet.
We plan to support this in the future.
I'll ask here once we add this support.
The application insights APIs let you record custom events for user-defined purposes. They also let you record custom properties on those events.
The Application Insights chart control on the Azure Portal however, appears to have some annoying limitation.
Let's say we have two event names:
Login: A user logged in.
Work: The application started some expensive background job, which happens independently of any user action on various conditions.
Then I likely don't want those event types to be series in the same chart. In particular, I may want to do a grouping by user or something similar in case of Login, but that would make no sense for the Work type.
They really have nothing to do with each other and I'd like to have them in different charts.
I do, however, want them to be in the same chart control (the whole white rectangle thing that groups charts together and where you set the time scope and filters on).
The following missing features would each solve the problem:
If it was allowed to set a filter on individual charts rather than only the chart control as a whole.
If each event name would appear as a distinct metric to select.
I know there's also Analytics, but then I still don't have the new chart in the same old chart control.
Is there another option I overlooked?
There's no way to do this in any one specific metrics explorer window, like you said, filters apply to the whole window.
But you can do this by creating a dashboard, and pinning individual metrics explorer charts (or grids, or whatever) to that dashboard.
make a new dashboard, and name it something distinctive
create one of the charts you want with the right filters in a standard metrics explorer part.
pin that chart to the dashboard created in step 1.
repeat steps 2 and 3 to create each chart with its own settings
go to that dashboard, and resize / configure each chart the way you want it
I've got a situation where I want the user to enter a start date and end date for report data. In addition there should be a drop down which allows the user to choose one of the following:
last 7 days
last 14 days
last 30 days
If the user selects one of these values, the datepickers should adjust there values? I can't quite figure out how to approach this. Anyone have any ideas.
This isn't possible solely from within SSRS. However, you can still achieve your goal with a bit of extra work. Here's a bit of pseudocode to get you going. This technique works and we use it in our organization often.
In SSRS, hide the report parameters
Create a new blank HTML/ASPX page
Using only HTML, create create your own datapickers and custom "last 7 days" dropdown.
Use Javascript/jQuery on the client to handle your custom logic.
Place a "Generate Report" button on the page.
Insert a hidden iFrame on the page
When the user clicks "Generate Report", perform an HTTP POST passing the report parameters in the URL (something like http://server/reportserver?/dir/Report&rs:Command=Render&Parm1=VALUE1&Parm1=VALUE2&Parm1=VALUE3)
Display the report in the iFrame
Your users won't know the difference and this will give you total control over the layout and presentation of your report parameters.
You can do this within in SSRS. Not great but acceptable.
Have the first parameter be a pick list with two choices.
Pick Dates or Last X Days.
Have the next parameter be the start date.
The third parameter is another pick list. It is either a list of dates or a list of numbers depending on the choice they made in the beginning.
Another way would be to have two reports displayed to the user. one with an open date range and one with a predefined pick list of dates. These would be linked reports that call the same underlying report but display different parameters. This is the approach I would take for such a user request.