Knowledgebase: RadarCube ASP.NET MSAS
How do I use RadarCube ASP.NET along with ChartFX chart using AJAX?
Posted by Vladimir Lyutetsky on 18 June 2007 03:21 PM

This article applies to:

  • RadarCube ASP.NET Direct
  • RadarCube ASP.NET for MS Analysis



a) Place the ChartFX Chart control to the web page.
b) Handle the Chart's PreRender and UserCallback events with a code like this:

private void UpdateChart()
DataTable dt = new DataTable("qqq");
TOLAPGrid1.GetOLAPData(dt, System.Drawing.Rectangle.Empty, RadarSoft.RadarCube.Web.TCellsetTableMode.ctmWholeCellsetExceptTotals);

Chart1.DataSource = dt;

protected void Chart1_PreRender(object sender, EventArgs e)

protected void Chart1_UserCallback(object sender, ChartFX.WebForms.UserCallbackEventArgs e)

c) Place the following line into the Page_Load handler:

TOLAPGrid1.ClientCallbackFunction = "SFX_SendUserCallback('" + Chart1.UniqueID + "','',false); ";
(517 vote(s))
This article was helpful
This article was not helpful

Help Desk Software by Kayako Resolve