I'd like to change the legend to be more horizontal, to fit beneath a chart. The default legend is vertical:
A
B
C
I'd like it to be horizontal like:
A B C
I have been trying to get this working by defining the legend template, but I can't seem to get it working. If I use a Grid (like the XamChartDefault.xaml file does), it works, but is veritcal. If I try to use another control, like a WrapPanel, then it seems to ignore the ContentPresenter and nothing shows up.
At this point, I'm out of ideas, and coming up blank on Google searches.
Any ideas?
Thanks,
Mike
Surely some one must have some idea on how to do this?
The chart's Legend currently expects a Canvas in its Control Template and only arranges the subsequent items vertically. So does not support the horizontal display of the items.
I would suggest making a feature request for more customizability of the legend.
In the meantime, you might find this solution useful: http://community.infragistics.com/forums/p/23620/270436.aspx#270436
-Graham