mskala23 Posted June 12, 2014 Report Share Posted June 12, 2014 is there anyway to move legend to top right of the chart without using LegendTitle in jcharts.axischarts? 1 Quote Link to comment Share on other sites More sharing options...
0 JuanC Posted July 2, 2014 Report Share Posted July 2, 2014 The default "dock" position is to the right of the chart, if you want move it to the top you need chart1.getLegendBox().setDock(cfx.DockArea.Top); Note that the legend will "take" the space from the top of the chart, but will be aligned to the left. To align it to the right you would then use chart1.getLegendBox().setContentLayout(cfx.ContentLayout.Far); JuanC Quote Link to comment Share on other sites More sharing options...
Question
mskala23
is there anyway to move legend to top right of the chart without using LegendTitle in jcharts.axischarts?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
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.