Hi Elvira,
Yes you can do that using the HoverFillStyle, PressedFillStyle, UnPressedFillStyle etc. properties exposed for each scrollbar button. The following code snippet shows how to change the appearance of the thumb:
NCartesianChart chart = (NCartesianChart)nChartControl1.Charts[0];
chart.RangeSelections.Add(new NRangeSelection());
chart.Axis(StandardAxis.PrimaryX).ScrollBar.Visible = true;
NScrollBarButton scrollThumb = chart.Axis(StandardAxis.PrimaryX).ScrollBar.ThumbButton;
scrollThumb.HoverFillStyle = new NColorFillStyle(Color.Orange);
scrollThumb.PressedFillStyle = new NColorFillStyle(Color.Red);
scrollThumb.UnPressedFillStyle = new NColorFillStyle(Color.Green);
NBarSeries bar = new NBarSeries();
bar.Values.Add(10);
bar.Values.Add(20);
bar.Values.Add(30);
chart.Series.Add(bar);
nChartControl1.Controller.Tools.Add(new NSelectorTool());
nChartControl1.Controller.Tools.Add(new NAxisScrollTool());
nChartControl1.Controller.Tools.Add(new NDataZoomTool());
The other possible buttons you can touch are:
chart.Axis(
StandardAxis.PrimaryX).ScrollBar.ResetButton:chart.Axis(
StandardAxis.PrimaryX).ScrollBar.LeftScrollButton;chart.Axis(
StandardAxis.PrimaryX).ScrollBar.RightScrollButton;chart.Axis(
StandardAxis.PrimaryX).ScrollBar.LeftSliderButton;chart.Axis(
StandardAxis.PrimaryX).ScrollBar.RightSliderButton;chart.Axis(
StandardAxis.PrimaryX).ScrollBar.LeftScrollButton;chart.Axis(
StandardAxis.PrimaryX).ScrollBar.RightScrollButton;Hope this helps - let us know if you meet any problems.
Best Regards,
Nevron Support Team