User (Legacy) Posted May 16, 2004 Report Share Posted May 16, 2004 I have been trying to get drill down to work with ChartFX .NET web forms and cannot get it to work at all. My application requires that I place the Chart objects in a composite web control. I'm doing a very basic test just setting the Chart.Link.Url to something like 'http://google.com'. When I configure the chart to output to Image, there is no image map, clicking has no effect, and mouse pointer doesnt change. But when I output to .NET client, the pointer changes to a link-style mouse pointer when mousing-over datapoints, but clicking still has no effect. Thinking this is an assembly trust issue, I tried granting intranet zone full access (IIS and browser are on same machine), and also added the .NET client assemblies to the GAC, and also given them full access by signature. No change in result. Below is the source code to my test web control. Please help! Thanks in advance, CM using System; using System.Web; using System.Web.UI; using SoftwareFX.ChartFX.Internet.Server; using SoftwareFX.ChartFX.Statistical.Server; public class TestDrillDownChart : Control, INamingContainer { public TestDrillDownChart() { } Chart CreateChart() { Chart chart = new Chart(); chart.HtmlTag = ".NET"; chart.Link.Url = "http://www.google.com"; return chart; } void AddTestData(Chart chart) { chart.OpenData(SoftwareFX.ChartFX.COD.Values, 1, 8); chart.Value[0, 0] = 0.0; chart.Value[0, 1] = 0.1; chart.Value[0, 2] = 0.2; chart.Value[0, 3] = 0.3; chart.Value[0, 4] = 0.4; chart.Value[0, 5] = 0.5; chart.Value[0, 6] = 0.6; chart.Value[0, 7] = 0.7; chart.CloseData(SoftwareFX.ChartFX.COD.Values); } Chart chart; protected override void Render(HtmlTextWriter w) { Controls.Clear(); chart = CreateChart(); AddTestData(chart); Controls.Add(chart); base.Render(w); } } Link to comment Share on other sites More sharing options...
Software FX Posted May 17, 2004 Report Share Posted May 17, 2004 This is also related to the chart not being part of the control tree. Please see my reply to your posting " Can't get Chart.Click event working" PS: For future Chart FX for .NET help please post to the Chart FX for .NET forums: chartfx.net.general chartfx.net.webforms chartfx.net.winforms -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.