Hi all,
I'm displaying a Line chart in an UltraWinChart. I have about 10 data series, and my legend is displayed to the left of the chart.
My problem is, the legend seems to be taking on a relative size (for instance, 20% of the total chart width or so), so when the chart is resized at run time, the legend sometimes becomes either ridiculously wide or too narrow for its contents. I would like to set a fixed pixel width (in the ideal case, the smallest width required to fit the contents) and then for the legend to keep this exact width even as the chart is resized.
Is there a way to accomplish this in code, please?
many thanks,
Johan
Sorry, but this has never been a feature of the non-composite chart. If you use a composite chart instead, you can specify fixed legend bounds. I'm afraid there is no workaround for the non-composite chart, other than drawing a custom legend in a custom layer or FillSceneGraph event. Here's more information on creating composite charts:http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Chart_Creating_a_Composite_Chart.html