Two scicharts bound to the same SeriesSource, not updating -


i'm using scichart v3.1 , have requirement display 2 charts on same window (in different tabs), both displaying same data. i'm plotting data "real time" (adding new point every second), i'm finding new values don't appear on charts added bound series. i've found can charts refresh recreating visiblerange bound charts' y axis, isn't ideal.

things work fine if there 1 chart on window, issue seems point using 2 charts. thoughts? appreciate i'm on older version curious if known issue, , whether there workaround.

in scichart v3, seriessource api binds observablecollection of ichartseriesviewmodel. each ichartseriesviewmodel contains both dataseries , baserenderableseries (which framework element).

hence, chart has wpf frameworkelements on 2 charts (two visual parents) - big no-no wpf terms.

this known issue in scichart v3, , result scichart team re-wrote api in version 4 of scichart.

the new mvvm api: seriesbinding, separates view viewmodel can bind multiple charts same set of viewmodels , work expected.

workaround v3. ensure have new ichartseriesviewmodel , renderableseries each chart. dataseries may still shared.


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

mapreduce - Resource manager does not transit to active state from standby -

serialization - Convert Any type in scala to Array[Byte] and back -