Jump to content
Software FX Community

Pie chart tilt not playing nice with rotation


User (Legacy)

Recommended Posts

I have a pie chart with the Chart3D and View3D properties set to true.  I

increment AngleY (rotation) and the pie chart rotates after the

RecalcScale(). I increment AngleX (tilt) and the pie chart tilts after the

RecalcScale(), but rotation is redrawn as if its set to 0. I can see my

values for AngleX and AngleY are not 0. Once I decrement the AngleX to 0,

then the AngleY value is redrawn correctly. What am I missing?

Link to comment
Share on other sites

Here are the pics.  The first one is 0 AngleX and 0 AngleY.  The second is 0

AngleX and 90 AngleY. The third one is 50 AngleX and 90 AngleY.

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:4OmTe2GUDHA.980@WEBSERVER1...

> Rotation in Y is not supported if you have "separated slices". I think

this

> is what you are experiencing.

>

> If you attach a couple of picture I would be able to tell you for sure.

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

Very strange. My guess is that you are inadvertedly setting the

SeparateSlice property even though it is not visually evident. Maybe because

it is being set to zero.

For design reasons, when the SeparateSlice property is set, the Y-Angle is

ignored (in 3D charts, a Zero-Zero angle chart is considered 2D).

So check your code to see if you are in fact setting SeparateSlice anywhere

and get rid of it.

If you can't find this, please export the chart to a binary file using the

Export method and attach it, I should be able to tell if the SeparateSlice

is actually set an through which property.

Try calling ClearData (CD_ALL) prior to initializing your char to get rid of

any previous settings.

--

FP

Software FX, Inc.

post-2107-1392237830279_thumb.jpg

Link to comment
Share on other sites

That was it.  Thanks.  I got ride of the SeparateSlice setting we do and we

can see AngleY and AngleX working together now. I know you said for design

reasons that AngleY is ignored. Are you in the future going to implement

AngleY when SeparateSlice property is set? Just curious.

"Software FX Support" <support@softwarefx.com> wrote in message

news:c2BC9LJUDHA.3012@WEBSERVER1...

> Very strange. My guess is that you are inadvertedly setting the

> SeparateSlice property even though it is not visually evident. Maybe

because

> it is being set to zero.

>

> For design reasons, when the SeparateSlice property is set, the Y-Angle is

> ignored (in 3D charts, a Zero-Zero angle chart is considered 2D).

>

> So check your code to see if you are in fact setting SeparateSlice

anywhere

> and get rid of it.

>

> If you can't find this, please export the chart to a binary file using the

> Export method and attach it, I should be able to tell if the SeparateSlice

> is actually set an through which property.

>

> Try calling ClearData (CD_ALL) prior to initializing your char to get rid

of

> any previous settings.

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...