Jump to content
Software FX Community

Label Overflow


Oops

Recommended Posts

I have a chart tat needs to display dates vertically...but every time i set the label angle property to 90, the chart just overflows the months over the edge...

here are the settings i have configured :

HTML Markup:

<chartfx7:Chart ID="Chart1" runat="server" EnableTheming="False" ImageSettings-Interactive="False" Personalize-Enabled="False" Personalize-EnableRestore="False">

<AxisY>

<Line Color="Black" />

</AxisY>

<AxisX>

<Line Color="Black" />

</AxisX>

<Series>

<chartfx7:SeriesAttributes />

<chartfx7:SeriesAttributes />

<chartfx7:SeriesAttributes />

</Series>

<LegendBox Visible="False">

</LegendBox>

<SpecialObjects>

<chartfx.webforms.adornments.simpleborder assemblyname="ChartFX.WebForms.Adornments"

color="Transparent" type="None"></chartfx.webforms.adornments.simpleborder>

<chartfx.webforms.adornments.solidbackground assemblyname="ChartFX.WebForms.Adornments"></chartfx.webforms.adornments.solidbackground>

</SpecialObjects>

</chartfx7:Chart>

Code Modifications :

Chart1.Data.Series = 1;

Chart1.AxisX.LabelAngle = 90;

Chart1.AxisX.LabelsFormat.Format = ChartFX.WebForms.AxisFormat.DateTime;Chart1.AxisX.LabelsFormat.CustomFormat = "MMM";

Chart1.AxisX.Step = 30;

Chart1.AxisY.LabelsFormat.Format = ChartFX.WebForms.AxisFormat.Number;

Chart1.AxisY.Step = 300;

Chart1.BackColor = System.Drawing.

Color.White;

Chart1.Border.Color = System.Drawing.

Color.White;

 

I have attached a screenshot of the chart when its overflowing in this way...i have tried chaging the margins (which messed it up further) and i have tried to increase the chart size, but it just magnifies what you are seeing right now.

What needs  to be changed to get this to fit ?

Thanks

 

Link to comment
Share on other sites

  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...