Jump to content
Software FX Community

Axis.DataFormat.CustomFormat


pre

Recommended Posts

Hi,

I am trying to plot TimeSpan values in a Pareto chart. The Timespan values are all integers i.e., representing the TimeSpan in minutes.

The application allows the user to select a custom format to display a duration value, which can either be hh:mm:ss or minutes, seconds etc.

What we have currently done, set the following properties for Y axis

AxisY.DataFormat.Format = AxisFormat.Number;

AxisY.DataFormat.Decimals = 0;

AxisY.LabelsFormat.Decimals = 0;

AxisY.LabelsFormat.Format =

AxisFormat.Number;

The problem I am currently facing is that the numbers are not displayed in the right format while hovering the mouse over the series data.

I have set the axis.DataFormat.CustomFormat to "hh:mm:ss", but what I see in the tooltip is "hh:mm:ss" instead of the value itself displayed in that format.

Any thoughts?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...