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.
- Gang Xu asked 4 years ago
- last edited 4 years ago
- You must login to post comments
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
- Yura Khariton answered 4 years ago
-
Thanks Yura. I’m not sure why it wasn’t working when I test it this way. I must made some mistakes.
- You must login to post comments
Please login first to submit.