Hello,
i created a chart text property to the ChartTextCollection of my BarChart.
Actually the Label is just above the bar. Is it possible to show the Label insight a Column in vertical adjustment ?
Hello fpollmann,
There are different approaches to solve this task. One possible approach could be if you are using HorizontalAlign property. If you think that this approach is not suitable into your scenario, you could use OffSet method of your text primitives. For example you could handle FillSceneGraph event and include the code:
if (pr.GetType() == typeof(Text) && pr.Row == -1 && pr.Column == -1 && pr.Path == null)
{
((Text)pr).bounds.Offset(-30, 0);
}
Please take a look at the attached sample for more details and let me know if you have any questions.
Regards
Here is the sample
Thanks for attached screenshot. The mentioned behavior is expected due to your item GRKZ5060. Maybe one possible solution could be if you are using ScrollScale of your X axis. For example:
ultraChart1.Axis.X.ScrollScale.Visible = true;ultraChart1.Axis.X.ScrollScale.Scale = 0.2;
Please let me know if you have any questions.
Hello Georgi,
i set the Y Axis ScrollScale as you wrote it (them of Axis X), but then the labels of the lower values are also not visible.
I attached a new Screenshot of the current state.
Isn't it possible to catch the value Labels (above the bar) in an event for example and change the location of the labels ?
Then i could change the location of the labels from the Bars with a higher value of 20 for example.
Thanks for your help by the way :-)
I try to reproduce your scenario in a small sample, but without success. Could you please take a look at the attached sample and video file and let me know if you think that I didn`t reproduce your scenario and issue. Please modify this sample and revert it back to me. I`ll be glad to research it for you ad help you.
Let me know if you have any questions.
this is the sample
Many thanks for your example Application.
I found the cause of failure. I used Infragistics DLL's with the Version number 10.2
Now i am using 11.1 as in your example Application and it works without any code changes in my Application.
Strange stuff, i tried a lot of things and nothing was helpfully. But now with the newer DLL's it looks fine.
Thanks for your help !