jmcdaniel Posted August 23, 2007 Report Share Posted August 23, 2007 I am trying to get the chart to show multiple x-axes which all have auto scroll set (to the same min/max scale). I have most aspects of this working, including working around the primary x-axis seeming to have a bug w/ CustomSteps (where it always adds a 1 step item prior to the custom ones) and the need to programatically keep the scroll positions of the x-axes in synch using ScrollPosition. What I am stuck on is how to not show the "extra" scrollbars. I need only the top one to show in the following image. I know all (both x & y) can be hidden via the chart.ExtraStyles property, but that will require then writing custom scrollbar control insertion, mess with our custom printing, etc.. So my questions are: 1) Can the extra scrollbars be hidden and if so how? 2) How do I change the foreground color of a scrollbar (I believe I did this in proof-of-concept at one point, but am no longer sure how) 3) How do i change the background color of the scrollbars independently of the chart are background color. Thanks, Jesse Quote Link to comment Share on other sites More sharing options...
Frank Posted August 29, 2007 Report Share Posted August 29, 2007 > 1) Can the extra scrollbars be hidden and if so how? No. You can hide all scrollbars, but not only some. If the axis needs to scroll (the range is greater thant the visible range) it will show the scrollbar. > 2) How do I change the foreground color of a scrollbar (I believe I did this in proof-of-concept at one point, but am no longer sure how) The scrollbar's foreground is drawn using Axis.Line.Color > 3) How do i change the background color of the scrollbars independently of the chart are background color. They go together. There is no way to change only one of them. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.