Pre loader

Alignment of Labels inside BarCharts

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

Hi,

Using the property ShowLabels I am able to display the current value e.g. inside a BarChart. I would like to align the Label in a different fashion, for instance at the top/bottom of the bars. So far I can only find a StringFormat property for the label itself.

Question here: Is it possible to define the position of a label?

Thanks,

Silvio

  • You must to post comments
0
0

Hi Silvio,

Thank you for your inquiry. It is possible to customize label appearance via styling/templating, so I think setting Margin or using TranslateTransform on a label should do the trick. you could take a look at our XAML styling example to see how to do this.

UPDATE:
The above info is concerning axis labels styling. Edited the post to answer the question:

Regarding the Bar value labels, it isn’t possible to style them or change the position for now. However, I can log it as a feature request and we will consider implementing it in future. Could I ask you to give us your requirements for the desired label configuration besides label alignment?

Best regards,
Yuriy

  • swiedric
    Hi Yuriy, thanks for your response. Unfortunately, I cannot find any property/entry point etc. to apply a style against,when it comes to Bar value labels. The only property I can find the is boolean "ShowLabel". Any help is appreciated. Thanks, Silvio
    • Guest
    • 9 years ago
    Hi Silvio, sorry, I misunderstood your question. Please find the edited answer above.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies