Jump to content
Software FX Community

Providing Custom Scrollbar


kap_soft
 Share

Recommended Posts

Hi, 

I am using ChartFX 6.2 for .Net.

I have to .Net horizontal scrollbar to scroll through the X-Axis instead of in-built chartFX scrollbar. I would like to know how to get the scroll size of the chart, to set the max size of my custom scrollbar. ScrollSize property of X-Axis always returns zero.

I tried using SetScrollView(20,40) when loading the graph after all the data is assigned and X-Axis is scalled. It has not changed the Scrollsize properties value. But when Place a button on the graph and invoke the SetScrollView(20,40) method in the buttons click event (i.e., after the form is loaded) it changes the value of AxisX.ScrollSize property.

Finally my question here is How to control the chart scroll using external scrollbar? how to get the scrollsize in normal case and also after each zoom(if user zoom's!!). Please help on this ASAP. I tried all I could for a day, but could not find a solution!!.

I also have one more question:- Is there a way to set the colour of a point line based on some expression result?

Please help ASAP.

Thanks,

Arun 

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...