SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
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.
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
Please login first to submit.