SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

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