Jump to content
Software FX Community

PointLabelAttributes format


beltrams

Recommended Posts

Dear Forum,

Any way I can format the PointLabelAttribute?

I have tried settings PointLabelAttribute.Template to a textbox, it works but I lose the labels on 3D bars.

Ideally I would like to bind the format to the point in my view model but I can set it in XAML if it is not possible.

Many thanks. 

Link to comment
Share on other sites

Can you clarify what you mean by "format the PointLabelAttribute"?

Does it mean format as in change the string format, e.g. showing a currency sign, or grouping digits, etc.

Does it mean changing so that instead of a string something else gets displayed (e.g. a bitmap , rectangle, etc.)

JuanC 

Link to comment
Share on other sites

Hello JuanC, I would like to

1) set the decimals I want to see on the point label (not the axis, the point in the plottable area), ideally with binding to my chart point (which is a class with Y and X + other stuff).

2) set the text to be vertical for bars (I have raised a separate forum discussion for this).

Thanks,

Simone

Link to comment
Share on other sites

>> set the decimals I want to see on the point label (not the axis, the point in the plottable area), ideally with binding to my chart point (which is a class with Y and X + other stuff).

An axis has two properties that allow you to set the decimals

Axis.Labels.Decimals: This will be used in the axis labels
Axis.DataFormat: Used when displaying point labels, tooltips, etc. for a series associated with such axis.

JuanC 

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