Minimum Width of Chart

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
KristianKaufmann
Posts: 1
Joined: Tue Jun 11, 2013 10:58 pm

Minimum Width of Chart

Post by KristianKaufmann » Tue Jun 11, 2013 11:10 pm

I have a control with several Charts laid out in a row. I've noticed the right most portion of the chart appears to extend past to the visible area.
This results in having to Set the X-Axis Maximum to values much greater than the maximum plotted x-value in order to see all the data points.

Is there a minimum width required for the charts to render properly?

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Minimum Width of Chart

Post by ArctionPasi » Wed Jun 12, 2013 2:29 pm

Hi Kristian,

WPF chart has MinWidth and MinHeight properties. Set them smaller and the chart will allow smaller size.

Also check that ViewXY.Margins are set to small values, so that there is actually at least some space for the graph, not just margins.

:P
LightningChart Support Team, PT

Post Reply