Hi,
In my graphs, I have this certain "threshold" then when reached, I enable the scrollbars. This seems to work perfectly fine on the Column chart. However, I tried it on AreaChart 3D and Stack3DBarChart and it doesn't work.
I basically have this code:
If datasource.Rows.Count > threshold
Me.UltraChart1.EnableScrollBar = True
End If
Am I missing something here? We have a license for Infragistics version 10.2 and I'm using it on VS2008 .NET 3.5.
I read somewhere that scrollbars are not supported on all charts. Is there any listing anywhere that states which charts are supported and which are not? I have tried searching for this to no avail.
Thanks.
There's also one other thing that I find weird. Maybe it's a bug on the scrollbar. For Area Chart and Column Graph, I experienced having the scrollbar initially not in the proper place. Please see attached. But once I "scroll" through the chart, the right arrow moves to the right most of the chart (where it should be in the first place). Again, is there a property that needs to be set in order to fix this? Thanks.
Hi Max,
I've been working on enabling scrollbars for my StackedBarChart. However, it throws several JS exceptions when there's a lot of data. Please see attached "with errors.jpg".
Using the same code and providing a lesser amount of data will work perfectly fine (produces the proper scrollbars and all).
In my Developer Tool, the error points to this:
this.SetY = function(obj, y)
{
if (this.IsFirefoxOrSafari && document.documentElement) y += "px";
(this.IsIE||this.IsDom)? obj.style.top=y:(this.IsNetscape)? obj.top=y:obj.style.pixelTop=y;
}
with y as NaN.
Please advice if there's any property that needs to be set if there's a lot of data.
Thanks!
Thanks! So, to confirm, all 2D charts have scrollbars?
Only 2d charts support scrollable axes. This is mostly because 3d charts can be rotated and are commonly drawn showing various degrees of depth. Scrolling the asp.net chart is a clientside feature and scrolling in 3d would require a new chart image to be constantly generated on the server (to show new depth). Hopefully, this makes sense.