|
shmoo chart |
Posted by at on Dec-17-2013 10:18 |
|
Hi Peter, how can I plot correctly a shmoo chart on chartdirector? I tried using the scatter layer but the squares are not evenly spaced. I set the rounding to false and set margin to 10 px. Thing is the number of data points could vary so there are cases where the size of the symbols should be adjusted. Attached two images, first one is the shmoo I'm trying to achieve while the second is my progress so far.
|
Re: shmoo chart |
Posted by Peter Kwan on Dec-17-2013 23:33 |
|
Hi at,
Instead of using a scatter chart, you may consider to use a stacked bar chart. You may configure the bars so that they touch each others using TouchBar, like:
$layer = $c->addBarLayer2(Stack);
$layer->setBarGap(TouchBar);
In this way, the bars will touch each other with no gap in between. Of course, the segments of a stacked bar will always touch each other with no gap in between. For the grid lines, you may use PlotArea.moveGridBefore to move the grid lines in front of the bars (insetad of behind the bars).
Hope this can help.
Regards
Peter Kwan |
|