Jump to content
Software FX Community

ChartFX 7 equivalent chart.UserLegendBoxObj.Continuous = true;


aliwaheed

Recommended Posts

I am trying to reproduce some functionality I had in chartfx 6 in ChartFX 7.
 
In ChartFX 6
The legend boxes on the right are joined together using

_chart.UserLegendBoxObj.Continuous = true;

 

 

With ChartFX 7 I get the following:

custLegeItem = new CustomLegendItem();

 

custLegeItem.MarkerShape = MarkerShape.Rect;

custLegeItem.Border.Visible =

false;

_chart.LegendBox.CustomItems.Add (custLegeItem);

 
 
I can't work out a way of getting the legend boxes to join ( and resize also).
Link to comment
Share on other sites

The definition for UserLegendBox.Continuous is "Sets the key markers of the user legend box as a single continuous bar with no borders". Therefore maybe you want to place the legend items horizontally..You may want to post a picture of what you want to accomplish.

Finally I did a search for ContentLayout in Chart FX 7.0 resource center and I found this:

chart1.LegendBox.ContentLayout = ContentLayout.Center;

chart1.LegendBox.ContentLayout = ContentLayout.Far;<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Link to comment
Share on other sites

I have also emailed this to support@softwarefx.com. That email contained pictures There is no way to attach pictures to messages so will link to attachments on my support call.

in chartfx 6.0 using continuous = true;

http://mysupport.softwarefx.com/help/supporttool/DownloadFile.aspx?FID=6804588e-aacd-4ddf-becf-61f804e9832f

in chartfx 7 notice above the legend items are longer and 'continuous'. below they are not.

http://mysupport.softwarefx.com/help/supporttool/DownloadFile.aspx?FID=5418a931-6d34-42c6-b907-3a41421aff4e

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...