my legend if it grows then pushes the chart line area smaller.
is there a way to fix the plot area? and perhaps just have the legend grow to the right or wrap?
the issue I have is we have the legend on right side and perhaps a long title and perhaps many series.
so the legend moves the chart plot area to the left and will also move up the right side and appear behind the title.
I need a way to control the area of the legend.
I have already written a function to insert breaklines into my title to make it wrap, so I center my title and wrap it every xx words.
I can probably do the same with legend series names. but would like a way to control this in a better fixed way then a willie nillie guesswork of hopefullies my legends don't get too big
The dimensions of the chart's plot area are automatically calculated based on the chart's dimensions as well as other elements including the legend. Therefore I am sorry to say that the desired functionality is not achievable with the current implementation of the control.
What I can suggest is that you create a custom legend, which will not affect the plot area. See such an example is illusrated in the HtmlChart - Conditional Item Colorization online demo.
Regards,
Danail Vasilev
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.