Jump to content
Software FX Community

Label Overflow


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">


<Line Color="Black" />



<Line Color="Black" />



<chartfx7:SeriesAttributes />

<chartfx7:SeriesAttributes />

<chartfx7:SeriesAttributes />


<LegendBox Visible="False">



<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>



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.


Chart1.Border.Color = System.Drawing.



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 ?



Link to comment
Share on other sites

  • 3 weeks later...


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

  • Create New...