Pre loader

How to update Gantt Chart Dynamically in Scichart

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
0

Is there any way Gantt Chart be plotted based on the dynamic data.
The example https://www.scichart.com/example/wpf-chart/wpf-chart-example-gantt-chart/ shows plotting Graph using predefined data loaded through constructor.
In the same example if a new item is added dynamically to the Item Collection in the View-Model it should reflect in the Graph.

Also how to plot the graph if a single project has multiple timeline.

Version
SciChart WPF v6.5.1.26063
  • You must to post comments
0
0

Hi Santhosh

The Gantt Chart example uses the StripeRenderableSeries (with StripeDataSeries) under the hood.

StripeDataSeries works with arrays that were directly passed to the constructor by user. To update a value, user just needs to update this value in the array and call InvalidateElement.

Please see “Updating data in the Stripe Series” section of this document.

SciChart WPF Documentation – The Stripe Series Type | WPF Chart Documentation

Let me know if this helps!

Best regards
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies