myloonatic Posted August 16, 2007 Report Share Posted August 16, 2007 why after i have my chart render as .Net (loadchart.renderformat = ".Net") , i cannot have the autoscroll bar loaded within the chart although i've manually set it as loadchart.axisx.autoscroll = true if i omit the loadchart.renderformat = ".Net" , then the scroll bar will appear, is it scroll bar cannot loaded within a .net object? can anyone help me? Quote Link to comment Share on other sites More sharing options...
Frank Posted August 19, 2007 Report Share Posted August 19, 2007 How many points do you have in this chart? I am unable to reproduce this problem, I get the scrollbar for the .NET Control as well if the number of points exceeds the available space. Quote Link to comment Share on other sites More sharing options...
myloonatic Posted August 20, 2007 Author Report Share Posted August 20, 2007 i've found out the culprit that cause the axis x scrollbar not loaded..here is my coding: If File.Exists(strCompletePath) Then chartGenerate.Import(FileFormat.Binary, strCompletePath) chartGenerate.Width = 1000% chartGenerate.Height = 450 If Me.chkEnableScrollbar.Checked = True Then chartGenerate.AxisX.SetScrollView(0, 8) .....line 7 chartGenerate.AxisX.AutoScroll = True .....line 8 .....line 9 Else chartGenerate.AxisX.AutoScroll = False End If chartGenerate.RenderFormat = ".Net" Me.PlcHolderChart.Controls.Add(chartGenerate) End If the scrollbar will load if i place line 7 (setscrollview) before line 8. If i put it at line 9 , then the whole function wont work(no scrollbar loaded at all). another weird things that i found was whatever i set for the (min,max) of SetScrollView the chart will not load according to it. lets say if i set it (0,8) it suppose to show only 8 data in axis x , am i right? can anyone help me to check this out? for your information , i'm using chartfx 7.0.2664.18403 and below is the printscreen of my developed application. Quote Link to comment Share on other sites More sharing options...
Frank Posted September 6, 2007 Report Share Posted September 6, 2007 Please see my reply to your newest post. The issue is related to you setting: chartGenerate.Width = 1000% Where the size of the chart is not know in the server. 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.