User (Legacy) Posted March 7, 2006 Report Share Posted March 7, 2006 They should be. What is the point of having a user legend if you can't make it accurately reflect the chart? Very frustrating. Link to comment Share on other sites More sharing options...
Software FX Posted March 8, 2006 Report Share Posted March 8, 2006 The line style IS used in the legend box, however, if you are displaying a marker, the space may not be enough to see the line style as the marker takes precedence, if there is a marker the marker is a better way of distinguishing series than the line style. Do you have markers on ? Try setting MarkerShape = MarkerShape.None. -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
User (Legacy) Posted March 14, 2006 Author Report Share Posted March 14, 2006 On Wed, 8 Mar 2006 11:22:51 -0500, "SoftwareFX Support" <noreply@softwarefx.com> wrote: >The line style IS used in the legend box, however, if you are displaying a >marker, the space may not be enough to see the line style as the marker >takes precedence, if there is a marker the marker is a better way of >distinguishing series than the line style. > >Do you have markers on ? Try setting MarkerShape = MarkerShape.None. I found a message on your support site stating that this is not supported: From: SoftwareFX Support Subject: Re: How to set a UserLegend LineStyle Date: 8/14/2003 1:31:15 PM Message 2 in thread From: SoftwareFX Support Date: 8/14/2003 1:31:15 PM Line styles are not supported in the user legend box, they are only supported in the series legend box. -- FP Software FX, Inc. I don't understand why you wouldn't support it, since you just have to change your pen style before you draw. Here is my code: Dim StoreLineStyles As Drawing2D.DashStyle() = {Drawing2D.DashStyle.Solid, Drawing2D.DashStyle.Dash, Drawing2D.DashStyle.Dot} For Each s As Store In state.Stores Dim item As SoftwareFX.ChartFX.UserLegendBoxItem = Chart.UserLegendBoxObj.Item(s.StoreID) item.Label = s.StoreName item.Color = Color.Black item.MarkerShape = SoftwareFX.ChartFX.MarkerShape.None item.Attributes.LineStyle = StoreLineStyles(s.StoreID) item.ShowLine = True Next Enough of the line is showing that I would expect to see the dash and dot styles. David Beardsley Link to comment Share on other sites More sharing options...
Software FX Posted March 15, 2006 Report Share Posted March 15, 2006 My mistake. I didn't realize you were referring to User Legend Box Items. -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
User (Legacy) Posted March 15, 2006 Author Report Share Posted March 15, 2006 So why not support this? I could make good use of this feature for my current client. On Wed, 15 Mar 2006 12:52:44 -0500, "SoftwareFX Support" <noreply@softwarefx.com> wrote: >My mistake. I didn't realize you were referring to User Legend Box Items. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.