User (Legacy) Posted September 29, 2004 Report Share Posted September 29, 2004 Hi, I am trying to plot a 3D surface chart. It only uses one color. It does not use all the colors show in the legend. Another question, can I fill the area underneath the surface? Please see attachment for comparison with our old FirstImpression chart. Thanks. Minh Link to comment Share on other sites More sharing options...
Software FX Posted October 1, 2004 Report Share Posted October 1, 2004 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 More sharing options...
Software FX Posted October 1, 2004 Report Share Posted October 1, 2004 This is by design. Axis titles are not to rotate like that. -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted October 4, 2004 Author Report Share Posted October 4, 2004 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 More sharing options...
Software FX Posted October 4, 2004 Report Share Posted October 4, 2004 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.