SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

0
0

Hi, I have a question for clearing data series.

Unlike XyDataSeriess object, when I call clear() method on UniformHeatmapDataSeries,

following exception occured.

[error message]
java.lang.UnsupportedOperationException: This operation isn’t supported by this type of data series
at com.scichart.charting.model.dataSeries.UniformHeatmapDataSeries.clear(SourceFile:328)
at com.scichart.charting.model.dataSeries.DataSeriesCore.clear(SourceFile:66)

How to clear UniformHeatmapDataSeries object data?

Thanks a lot.

Version
Same version with AndroidExample Source
  • You must to post comments
0
0

Hi YoungTae Sun,

Well as message says clear operation isn’t supported in case of UniformHeatmapDataSeries by design. It has constant size which is defined once via constructor ( X and Y size of heatmap ) and you can’t modify size of heatmap after creation, and because of this clear() operation doesn’t make sense like in other series where clear() removes content of data series and sets points count to 0.

Best regards,
Yura

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.