I am trying to build a chart without a title, but I cannot get the space at the top of the chart to disappear, even when no text is present. I have tried setting the following properties without any luck:
rc.ChartTitle.Visible = false;
rc.ChartTitle.Appearance.Dimensions.Height = Unit.Pixel(0);
rc.ChartTitle.Appearance.Dimensions.Margins.Bottom = Unit.Pixel(0);
rc.ChartTitle.Appearance.Dimensions.Margins.Top = Unit.Pixel(0);
rc.ChartTitle.TextBlock.Visible = false;
rc.ChartTitle.TextBlock.Appearance.Dimensions.Height = Unit.Pixel(0);
rc.PlotArea.Appearance.Dimensions.Margins.Top = Unit.Pixel(0);
Is there even a way to remove the title area? I'm working with a small space in my application and need as much space as possible for the plot...not a section of white space. Does anyone have any suggestions?
Thanks in advance,
Matt
rc.ChartTitle.Visible = false;
rc.ChartTitle.Appearance.Dimensions.Height = Unit.Pixel(0);
rc.ChartTitle.Appearance.Dimensions.Margins.Bottom = Unit.Pixel(0);
rc.ChartTitle.Appearance.Dimensions.Margins.Top = Unit.Pixel(0);
rc.ChartTitle.TextBlock.Visible = false;
rc.ChartTitle.TextBlock.Appearance.Dimensions.Height = Unit.Pixel(0);
rc.PlotArea.Appearance.Dimensions.Margins.Top = Unit.Pixel(0);
Is there even a way to remove the title area? I'm working with a small space in my application and need as much space as possible for the plot...not a section of white space. Does anyone have any suggestions?
Thanks in advance,
Matt