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

Message ListMessage List     Post MessagePost Message

  ticks / \\"{xLabel}\\
Posted by berno on Mar-01-2012 21:02
Dear Peter,

I use
$c->xAxis->setLinearScale($begin,$end,1000,100);

then to create an area (sensible for mousemovement)

$layer = $c2->addAreaLayer();
$layer->setXData($dataX0);   # $dataX0 is an array distance in meter
$layer->addDataSet($wert, 0xeeee66aa, "");  # wert is a constant

$layer->addExtraField2($dataY1);
$layer->addExtraField2($dataX0);

etc. etc.

everything works out fine except, that I do not get all the ticks, only the ones every 100meters. They are plotted in the grafic but not shown in the mouseover ..
Sure,  I can co an limit the ticks in setLinearscale down to 1 and everything shows nicely in the detailInfo - box, but then, the graphic looks quite ugly, because there is no grid anymore .
I tried to use an alternative x-axis which I set to transparent, but that doesn't work at all.

I' sure I miss something very simple ;-) but I cannot find it.

sincerely

Berno

  Re: ticks / \\"{xLabel}\\
Posted by Peter Kwan on Mar-01-2012 23:38
Hi berno,

Do you mean you do not get {xLabel} for the tooltips? The {xLabel} refer to the label on the x-axis at the data point position. If there is no x-axis label at that position, {xLabel} may be empty. As an alternative, you may {x}, which refers to the x-coordinate of the data point, and is always available for every data point on the chart.

Hope this can help.

Regards
Peter Kwan

  Re: ticks / \\"{xLabel}\\
Posted by berno on Mar-02-2012 15:50
Thanx a lot, that did it

sincerely

Berno