beltrams Posted October 8, 2012 Report Share Posted October 8, 2012 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. Quote Link to comment Share on other sites More sharing options...
JuanC Posted October 9, 2012 Report Share Posted October 9, 2012 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 Quote Link to comment Share on other sites More sharing options...
beltrams Posted October 9, 2012 Author Report Share Posted October 9, 2012 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 Quote Link to comment Share on other sites More sharing options...
beltrams Posted October 14, 2012 Author Report Share Posted October 14, 2012 Bumped Quote Link to comment Share on other sites More sharing options...
beltrams Posted October 18, 2012 Author Report Share Posted October 18, 2012 Can someone please help on this? Many thanks! Quote Link to comment Share on other sites More sharing options...
JuanC Posted October 18, 2012 Report Share Posted October 18, 2012 >> 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.