Jump to content
Software FX Community

missing x axis labels when using CustomStep


User (Legacy)

Recommended Posts

hi,

I'm using AxisX.CustomStep to label particular dates on a DateTime x axis,

but some labels are missing when the chart is exported to a metafile. I have

atached a screenshot of an exported image and a binary dump.

Can you tell me why this is happening here?

btw, if I handle the GetAxisLabel event, it seems the missing labels do

exist, but they are set to ""

cheers,

Rob

Link to comment
Share on other sites

hi Francisco,

> It appears the labels are skipped because they don't fit.

I see... well the thing I'm trying to achieve is for the ends of the axis to

be labelled MM/yy, but the year ends in between to be labelled yy. My plan

was to set the CutomStep to set up the labelling, then catch the

GetAxisLabel event to set the label appropriately.

Is it possible to switch off the culling of labels that won't fit? It would

have been better if the labels were just not drawn, rather than being set to

an empty string.

Also, it would be very handy if the AxisLabelEventArgs class had a Value

property or something to tell you what was actually being labelled, rather

than just the label string (especially if the label is "").

thanks for your help,

Rob

Link to comment
Share on other sites

any suggestions...?

> hi Francisco,

>

> > It appears the labels are skipped because they don't fit.

>

> I see... well the thing I'm trying to achieve is for the ends of the axis

to

> be labelled MM/yy, but the year ends in between to be labelled yy. My

plan

> was to set the CutomStep to set up the labelling, then catch the

> GetAxisLabel event to set the label appropriately.

>

> Is it possible to switch off the culling of labels that won't fit? It

would

> have been better if the labels were just not drawn, rather than being set

to

> an empty string.

>

> Also, it would be very handy if the AxisLabelEventArgs class had a Value

> property or something to tell you what was actually being labelled, rather

> than just the label string (especially if the label is "").

>

> thanks for your help,

> Rob

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...