Jump to content
Software FX Community

3D surface chart


User (Legacy)

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 comment
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 comment
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 comment
Share on other sites

Archived

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

×
×
  • Create New...