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

Message ListMessage List     Post MessagePost Message

  Surface chart (6 version)
Posted by Sergey on Jul-20-2015 15:41
There was a possibility to build a 6 version on the same graph(Surface) two intersecting surfaces?

  Re: Surface chart (6 version)
Posted by Peter Kwan on Jul-21-2015 02:20
Hi Sergey,

Unluckily, ChartDirector does not support surface charts with multiple intersecting surfaces.

Regards
Peter Kwan

  Re: Surface chart (6 version)
Posted by Michael P on Feb-15-2019 18:57
Peter Kwan wrote:

Hi Sergey,

Unluckily, ChartDirector does not support surface charts with multiple intersecting surfaces.

Regards
Peter Kwan


Hi Peter,
what about non-intersecting surfaces? Is it possible to combine to surfaces in one chart?

best regards,
Michael P

  Re: Surface chart (6 version)
Posted by Peter Kwan on Feb-16-2019 02:05
Attachments:
Hi Michael,

You can always combine multiple charts together by just putting one chart in front of another chart. This works as long as you are sure one surface is always in front of another surface on the screen.

To do this:

(a) Draw the first surface chart with the bottom surface.

(b) Draw another surface chart with the top surface. This chart needs to have the background set the transparent and hide all 3 walls, so it is just the surface.

(c) Use a MultiChart to combine these two charts.

I have attached an image showing a chart created using the above method. It consists of two surfaces, with the bottom surface being almost flat.

Regards
Peter Kwan
surface_contour.jpg

  Re: Surface chart (6 version)
Posted by Michael P on Feb-18-2019 16:19
Thanks for the tip, that should do it.
best regards,
Michael

  Re: Surface chart (6 version)
Posted by Damla B on Mar-07-2019 16:44
Attachments:
Hi Peter,

Thanks for the advice. I am using 2 surface chart in same view. I applied your suggestions, and now I can see both surfaces. However, these 2 surfaces' x-y axis are same but z axis is different. In Z axis values, I should show numbers from min to max. However it only shows the first chart's numbers. How can I changed them? I have already tried setLinearScale() method.

my code ;
////

        c_bottom->setSurfaceAxisGrid(Chart::Bottom);
        c_top->setSurfaceAxisGrid(Chart::Top);
        c_top->setBackground(Chart::Transparent);
        c_top->setWallVisibility(false,false,false);

        c_bottom->zAxis()->setLinearScale(0.08,0.36);

        m->addChart(0,0,c_bottom);
        m->addChart(0,0,c_top);

////

z axis of c_bottom data range is between 0.08 to 0.26.
z axis of c_top data range is between 0.24 to 0.36.

The chart only shows c_bottom data range in z axis.

How can I show them between 0.08 to 0.36 both in z axis and colorAxis? Is there any posibility?
surfaceChart.png

  Re: Surface chart (6 version)
Posted by Damla B on Mar-07-2019 20:23
Hello again,

I found the solution. If I set the linear scale after creating chart, it works well. Probably some operations before setting scale broke it.

Thanks,