Jump to content
Software FX Community

ChartFX 7 equivalent chart.UserLegendBoxObj.Continuous = true;


aliwaheed
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...