Jump to content
Software FX Community

3D surface chart


Recommended Posts

By default, the surface chart uses a gradient to go from Color (first 

series) to AlternateColor (first series).

A new property was added recently to the Surface class that allows you to

pass an array of colors to it. Please contact support to get a hotfix

including this new property.

To use it do:

chart1.Gallery = Gallery.Surface;

((SoftwareFX.ChartFX.GalleryObj.Surface) chart1.GalleryObj).Colors = new

Color[] {Color.Red,Color.Blue,Color.Yellow};

--

FP

Software FX

Link to post
Share on other sites

Thanks for the suggestion.

However, my concern was "How do I get the graph to use the colors in its

legend?"

It doesn't look like surface chart use the legend at all.

Thanks again.

Minh

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

news:YnEv9Z8pEHA.1736@webserver3.softwarefx.com...

> By default, the surface chart uses a gradient to go from Color (first

> series) to AlternateColor (first series).

>

> A new property was added recently to the Surface class that allows you to

> pass an array of colors to it. Please contact support to get a hotfix

> including this new property.

>

> To use it do:

>

> chart1.Gallery = Gallery.Surface;

>

> ((SoftwareFX.ChartFX.GalleryObj.Surface) chart1.GalleryObj).Colors = new

> Color[] {Color.Red,Color.Blue,Color.Yellow};

>

>

> --

> FP

> Software FX

>

>

Link to post
Share on other sites

Not the series legend. The colors in the surface plot are unrelated to the 

series. What you need to display is the User Legged.

The toolbar button is smart and will display the User Legend if one exists.

Surface chars automatically crate a user legend, you just have to display

it.

--

FP

Software FX

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...