git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.DevExpressVCL@29 05c56307-c608-d34a-929d-697000501d7a
36 lines
690 B
ObjectPascal
36 lines
690 B
ObjectPascal
unit WebChartData;
|
|
|
|
interface
|
|
|
|
uses SysUtils, Classes, HTTPApp, cxWebModule, cxWebAppSrv;
|
|
|
|
|
|
type
|
|
TWebChartDataMod = class(TcxWebHomeDataModule)
|
|
private
|
|
{ Private declarations }
|
|
public
|
|
{ Public declarations }
|
|
end;
|
|
|
|
function WebChartDataMod: TWebChartDataMod;
|
|
|
|
implementation
|
|
|
|
{$R *.DFM}
|
|
|
|
uses
|
|
WebReq, WebCntxt, cxWebModFact, Variants;
|
|
|
|
function WebChartDataMod: TWebChartDataMod;
|
|
begin
|
|
Result := TWebChartDataMod(WebContext.FindModuleClass(TWebChartDataMod));
|
|
end;
|
|
|
|
initialization
|
|
if WebRequestHandler <> nil then
|
|
WebRequestHandler.AddWebModuleFactory(TcxWebHomeDataModuleFactory.Create(TWebChartDataMod, caDestroy));
|
|
|
|
end.
|
|
|