SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & 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,

We are playing around with the trial version at the moment to draw some charts with many points. SciChart looks outstanding so far and crispy performance.

I’ve got a question. I couldn’t figure out how to add percentage marks for YAxis. I want to show YAxis values as 0%, 10%, 20%.. 100%. Could you please point me the best way to do it?

Thanks!

  • You must to post comments
0
0

Hi there,

There are several ways to achieve this. You could set the TextFormatting property, standard C# format strings can be applied. So to display “%”, you need to set

<s:NumericAxis x:Name="yAxis" TextFormatting="P" />

(see http://msdn.microsoft.com/en-us/library/dwhawy9k.aspx#PFormatString for more format strings)
or create your own LabelProvider, take a look at Screenshots, XPS Printing, X-Axis Text Labels tutorial.

Please, feel free to ask if you have any questions!

Best regards,
Yuriy

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.