Pre loader

colormap view

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

Answered
0
0

Hi,

I tried to implement a colormap view next to the heatmap chart. But couldn’t figure out how to set it up. It seems like it won’t work this way.

SciChartHeatmapColourMap colorMapView = new SciChartHeatmapColourMap(this);
colorMapView.findViewById(R.id.colorMapView);

I don’t know how Bindview works in the example code. Could you tell me how to link SciChartHeatmapColourMap to the view in layout xml?

Thanks.

Version
3.1.0.4341
  • You must to post comments
Best Answer
0
0

Hi Gang Xu,

BindView just finds View in example Fragment and assigns it to specified field. Without it you would need to write something like this:

SciChartHeatmapColourMap colorMapView = (SciChartHeatmapColourMap) findViewById(R.id.colorMapView);

Best regards,
Yura

  • Gang Xu
    Thanks Yura. I’m not sure why it wasn’t working when I test it this way. I must made some mistakes.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.