Mega Search
23.2 Million


Sign Up

Make a donation  
Using TChart in Intraweb  
News Group: embarcadero.public.delphi.thirdpartytools.intraweb

Hello,

following the suggestions I read on my previous post (https://forums.embarcadero.com/thread.jspa?threadID=110531&tstart=0) about using TChart in Intraweb ("CopyChartToImage" procedure) I developed an application that shows some charts.
Now I would like to install the app on my customer server as an ISAPI dll (that use ISAPI threadpool) and I get an "access denied error".
The same code works fine executed as a Intraweb standalone application.

Here the code I'm working on :

	Chart := TChart.Create(nil);
	Chart.Width := FrangoImage.Width;
	Chart.Height := FrangoImage.Height;

	PieSeries := TPieSeries.Create(Chart);
	try
		Chart.AddSeries(PieSeries);
		Chart.Legend.Visible := false;

		try
			PieSeries.FillSampleValues(20);
			CopyChartToImage(Chart, FrangoImage);
		finally
			PieSeries.Free;
		end;
	finally
		Chart.Free;
	end;

Is there a way to show a chart in a Intraweb ISAPI application ?

Thank you,
Davide

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 15-Jan-2015, at 6:57 AM EST
From: Davide Rubbiani