User (Legacy) Posted November 2, 2004 Report Share Posted November 2, 2004 Is it possible to use Stripes when the chart type is set to Radar? Or otherwise color the drawing area of the chart? Thanks in advance! Igor Link to comment Share on other sites More sharing options...
Software FX Posted November 2, 2004 Report Share Posted November 2, 2004 Sorry. Stripes are not supported in Radar charts. You can change the color of the drawing area by doing: chart.Rgb3DBk := <color>; -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted November 2, 2004 Author Report Share Posted November 2, 2004 :-( My client is looking for the functionality that will allow me to fill the radar chart background with Y-Axis from 0 to 100 with 3 colors : 0-33: red; 33-66:yellow; 66-99:green. Since stripes are not supported, is there another way of doing it? Q1313290 mentions a new CT_RADARAREA flag available. Would i be able to use this to achieve the needed functionality? If so, what version is it available in? Thanks again, Igor "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:IvSdxEPwEHA.1120@webserver3.softwarefx.com... > Sorry. Stripes are not supported in Radar charts. > > You can change the color of the drawing area by doing: > > chart.Rgb3DBk := <color>; > > -- > FP > Software FX > Link to comment Share on other sites More sharing options...
Software FX Posted November 2, 2004 Report Share Posted November 2, 2004 CT_RADARAREA may work for you. This flag can be set in the TypeMask property either globally (chart.TypeMask) or per-series (series.TypeMask). What it does is instead of drawing a line it fill the whole area. The following VB sample show how to do what you need: ChartFX1.Series(0).TypeMask = ChartFX1.Series(0).TypeMask Or CT_RADARAREA ChartFX1.Series(1).TypeMask = ChartFX1.Series(1).TypeMask Or CT_RADARAREA ChartFX1.Series(2).TypeMask = ChartFX1.Series(2).TypeMask Or CT_RADARAREA ChartFX1.OpenDataEx COD_COLORS, 4, 0 ChartFX1.Series(0).Color = RGB(0, 255, 0) ChartFX1.Series(1).Color = RGB(255, 255, 0) ChartFX1.Series(2).Color = RGB(255, 0, 0) ChartFX1.Series(3).Color = RGB(0, 0, 0) ChartFX1.CloseData COD_COLORS ChartFX1.OpenDataEx COD_VALUES, 4, 0 For i = 0 To ChartFX1.NValues ChartFX1.ValueEx(0, i) = 100 ChartFX1.ValueEx(1, i) = 66 ChartFX1.ValueEx(2, i) = 33 ChartFX1.ValueEx(3, i) = Rnd() * 100 ' Actual value to be plotted Next i ChartFX1.CloseData COD_VALUES -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted November 3, 2004 Author Report Share Posted November 3, 2004 Great! What version of CFX is CT_RADARAREA available in? I have CFX98 4.0.19.0 and I do not see it in ChartfxLib_TLB.. Thanks again! Igor "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:qby3PWTwEHA.1120@webserver3.softwarefx.com... > CT_RADARAREA may work for you. > > This flag can be set in the TypeMask property either globally > (chart.TypeMask) or per-series (series.TypeMask). What it does is instead > of drawing a line it fill the whole area. > > The following VB sample show how to do what you need: > > ChartFX1.Series(0).TypeMask = ChartFX1.Series(0).TypeMask Or CT_RADARAREA > ChartFX1.Series(1).TypeMask = ChartFX1.Series(1).TypeMask Or CT_RADARAREA > ChartFX1.Series(2).TypeMask = ChartFX1.Series(2).TypeMask Or CT_RADARAREA > > ChartFX1.OpenDataEx COD_COLORS, 4, 0 > ChartFX1.Series(0).Color = RGB(0, 255, 0) > ChartFX1.Series(1).Color = RGB(255, 255, 0) > ChartFX1.Series(2).Color = RGB(255, 0, 0) > ChartFX1.Series(3).Color = RGB(0, 0, 0) > ChartFX1.CloseData COD_COLORS > > > ChartFX1.OpenDataEx COD_VALUES, 4, 0 > For i = 0 To ChartFX1.NValues > ChartFX1.ValueEx(0, i) = 100 > ChartFX1.ValueEx(1, i) = 66 > ChartFX1.ValueEx(2, i) = 33 > ChartFX1.ValueEx(3, i) = Rnd() * 100 ' Actual value to be plotted > Next i > ChartFX1.CloseData COD_VALUES > > > -- > FP > Software FX > Link to comment Share on other sites More sharing options...
Software FX Posted November 3, 2004 Report Share Posted November 3, 2004 You need the latest SP and the latest Wrapper. Both can be obtained at http://support.softwarefx.com/chartfx/ Under Service Pack. -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted November 3, 2004 Author Report Share Posted November 3, 2004 Outstanding! Works very well, just what the customer wanted. Thanks!!!!!!! i "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:cTkLsQbwEHA.3492@webserver3.softwarefx.com... > You need the latest SP and the latest Wrapper. > > Both can be obtained at http://support.softwarefx.com/chartfx/ > > Under Service Pack. > > -- > 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.