Fusion Chart Widget for Project Timelines and Milestones - widget

I am looking for a widget (preferably fusion chart) with the following capabilities
Should accept the lane category values dynamically to make it work
for any number of categories
Widget should accept lane background color as input.
The starting timeline should be first date provided by the list.
By default widget should show 12 months.
It should take title as input
User should be able to change the Milestone position by dragging it
Widget should have capability to update the model when user changes a milestone
by dragging it.
It should have capability to color code the
milestones
Show the current date (Orange line)
It should have capability for the user to view timeline in different ranges like 1M, 3M, 6M,
12M, All or Custom Date range
The FusionCharts Milestone indicator widget is not satisfying the highlighted requirements. Also it requires a task to be added to a category to add a milestone.
Can you please suggest if it is possible to achieve this in the FusionCharts Milestone indicator itself or is there a widget which better satisfies the given requirements

Related

How do I insert free text/arrows into a bar chart in Contour to identify specific events that happened on a specific date?

I have a bar chart with exact dates over several years (ex: January 1st, 2016 to February 30th, 2019) on the x-axis and the number of events per day on the y-axis (ex: number of gatherings). On this bar chart, I am trying to also indicate certain dates on which some type of change occurred (ex: a fair opened causing an increase in events). I want to be able to indicate this either with a colored line on the bar chart and a legend on the side explaining the change corresponding with that color (ex: purple line marked on January 3rd, 2016. legend shows purple line with explanation: "fair opened") or an arrow marking that date with the text relating to that event (ex: "fair opened" with arrow pointing to/from January 3rd, 2016). I'm not sure how to go about doing this (would this require uploading a dataset into contour?). I'm pretty new to Contour, so any help is appreciated!
In general, Foundry is quite strongly opinionated that things should be backed by "data", so if you want to keep track of and display events in your charts, you'll want a dataset holding your event data.
The quickest way to go about this would be to create a new Fusion sheet and sync a table region to a dataset. You can then copy/paste or simply manually enter data into the spreadsheet and it will update the related dataset. In Contour, you can then add an Overlay to your existing chart and point it to the dataset holding your events. If you make this a scatterplot layer, you can, for example get a circle drawn on the chart where each event takes place.
There is much more robust support for timeseries and event type data once your data is incorporated into the Ontology layer, where you can use Quiver and Vertex for more complex visual analysis and dashboard building. If you're just interested to explore these features of the platform, check out the first few courses in the APPDEV series which will introduce you to the Ontology layer and the basics of Quiver.
You can't have an arrow or free text overlaying your chart in contour.
However you could have another chart line layered with the first one that just overlaps and highlights the section you want. That layer will have its own legend, so it would have a similar effect.

In Workshop: How can I create buttons (functions?) so that user can segment by day, week, month or year

Background
I've read about Typescript, but I am not a developer, so I am interested in how can I learn how can I create useful functions in Workshop.
Question 1
How can I create buttons (functions?) so that I can create buttons for users to select segment by day, week, month or year?
You could use Functions to do that but you can also do it directly in workshop with a combination of button + tabbed section.
Indeed:
you create a button (like a Menu button for instance) where you list all the options (Day, Week, Year).
Then you create a tabbed section with as many tabs as they are choices
For each tab you create the chart you want to show, segmented by either day / month / year etc
You hide the header of the section (not to see the tab labels anymore)
In the button, you add to every single choice an event "Switch to ... Tab X)
The downside of this is obviously that you'll need to maintain many charts and thus it is more painful if you have one thing to change on the chart (the color etc...) as you'll need to do it several times.
Hope it can help you if you want to explore non-technical ways of achieving the above.
Maxime

How to highlight exact member information on click of a 3D modal member using javascript

I am working on Forge Revit 3D modal.
Rendering a 3D modal based on URNSourceFile.
Problem Statement :
We have a GUID (like "ad6dd74d-c919-432a-8404-0a17b7659df4") for all the members of the modal.
We have a table(not part of forge), in which all the members information including GUID is set.
We have a scenario like, On click of a member(beam) from the modal we need to highlight exact match row of GUID from the table.
Table List of rows is not part of forge viewer.
Please suggest on triggering point on click of a member(beam) to highlight a member row.
Please find the attached screenshot for the reference.
Screenshot
Once you know the ID of the object you want to highlight, you highlight it in different ways, for example, by programmatically selecting it using viewer.select, or giving the object a color tint using viewer.setThemingColor.
To find an object (and its ID), there are also different ways. For example, you can find all objects containing a specific piece of text in their metadata using viewer.search.

Windows Phone 8 - List Picker two level selection

I am building a Video Application where each video has many resolutions
The video list is bound to ListPicker, but when the user selects a video I have to make him select the resolution options. (240, 360, 480)
Example:
Consider we have: Celebrity Video, National Video, Sport Video. They are listed like:
Now when the user selects a video I have to make him choose on which resolution he wants to play the video. Like a ListPicker inside the main ListPicker
I don't know how to approach that.
Any help is much appreciated
if you have only one list picker in the screen,you can use another list picker below your first list picker and use the selected event of the first list picker to bind the visibility to the second list picker( which contains the resolutions.)
on page loads it only contains first list picker and once the item is selected in the first list picker, the second list picker kicks in( visibility is made to visible ) where the user is allowed to select the resolutions. hope this helps.

UiApp cache vertical panel

Developing small app to record a set of 6 readings for monitoring purposes in 31 rooms. App will have two main views, one view to show list of buttons for each room where readings will be taken, a second view where the values will be entered for a particular room and then posted to a spreadsheet.
The process in mind here is click on button for a particular room, enter the data, return to button view to choose another room to enter the data for that room and then back to button view screen.
Since the button view will seldom change do I have any options for caching this view so that I do not have to run a function to rebuild it each time. I have this function
function createTGSRoomListButtons(sh, aData){}
That takes the list of rooms and builds a panel of buttons for selecting the different rooms.
The question that I have can the above function be run once to cobble together the UI, cached and the later simply be 'recalled'?
TO that some end the view where the data will be entered can this be partially cached so that with each rendering a reference to a specific room can be made.
New to Google Apps Script so not really sure how to properly determine my answer.
You can have multiple panels in an UI and play with visibility to show one or another... no need to cache any content since they remain unchanged in the process.
If I understood your use case well, the panel with specific room info would be modified according to spreadsheet data so in this case you won't need to cache values since they would be "reconstructed" each time. The trick to show/hide panel has been shown in this post with clientHandlersand multiple panels in a unique vertical panel to ensure that the visible panel is always at the right place.
A very simple way would be build the UI for the first time and then hide/unhide the buttons' panel each time using the setVisible() method of the panel