ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  XYChart
Posted by seafree on Oct-03-2015 02:29
Hi Peter, I created a pareto chart, but I'm have a big problem, I'm currently developping a
cgi script which use ChartDirector and I have a problem with drawing, the chart and the
plotarea are diferents could you help me please:

my $c = new XYChart(800, 450, perlchartdir::goldColor() );
$c->addTitle("FALLAS DE PROCESOS", "arialbd.ttf",14);
$c->setPlotArea(350, 60, 400, 365, 0xffffff
,-1,-1,$perlchartdir::Transparent,$perlchartdir::Transparent);

The new XYChart is created in diferente area that setPlorArea, what is my error?

Thanks.

  Re: XYChart
Posted by Peter Kwan on Oct-03-2015 06:39
Hi seafree,

By just reading your code, I am not sure what is the issue. Is it possible to attach the chart
image to allow me to understand what is the issue?

In your code, the chart image should be 800 x 450 in size, in which the top-left corner of
the plot area is at (350, 60) and the width and height of the plot area being 400 and 365.
Is this the case?

Regards
Peter Kwan