Works fine when scrolling is not enabled, but throwing the below exception when enabled.
telchart.ClientSettings.ScrollMode = ChartClientScrollMode.XOnly
telchart.ClientSettings.EnableZoom = True
Have seen this error reported before in the forum, but there is no proper answer on why ? except attaching sample projects that work. Tried adding a series at the end with Line Type but no luck.
telchart.DataBind()
telchart.Series.Add(New ChartSeries("Lines", ChartSeriesType.Line))
Exception Detail -
Server Error in '/' Application.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Stack Trace:
Version Information: Microsoft .NET Framework Version:2.0.50727.3643; ASP.NET Version:2.0.50727.3634
telchart.ClientSettings.ScrollMode = ChartClientScrollMode.XOnly
telchart.ClientSettings.EnableZoom = True
Have seen this error reported before in the forum, but there is no proper answer on why ? except attaching sample projects that work. Tried adding a series at the end with Line Type but no luck.
telchart.DataBind()
telchart.Series.Add(New ChartSeries("Lines", ChartSeriesType.Line))
Exception Detail -
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
|
Stack Trace:
|
Version Information: Microsoft .NET Framework Version:2.0.50727.3643; ASP.NET Version:2.0.50727.3634