How to render a milestone marker?

Modified on Tue, 27 Aug 2019 at 02:49 PM

NOTE: Please update to version 1.6 before following this guidance.


In this article we show you how to add milestone / release markers in the gantt chart. 


As example, let's add  the marker for Version 20.0 for the date January 30, 2020.  In the gantt chart it will look like (See the green vertical line with the marker)




Currently  such milestone markers can be only added manually via scripting. 


To do so, open Widget properties > Advanced > Markers Script and add there:


    var marker = markerFactory.addMarker();
    marker.setText("20.0");
    marker.setDate("2019-01-27");
    marker.setColor("green");


If you would like to list the markers based on the data in Polarion (i.e. based on Time Points, Plans, ...) check: 

How to add milestone markers via Markers Script and Polarion API?

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article