This question is locked. New answers and comments are not allowed.
Hi,
I need to insert text in the Chart (where I need) like on image:
help me please
I need to insert text in the Chart (where I need) like on image:
help me please
3 Answers, 1 is accepted
0
Hello,
Yavor Ivanov
the Telerik team
You can put a Canvas on top of RadChart with transparent background and position your text blocks on absolute coordinates.
Regards,Yavor Ivanov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
1897
Top achievements
Rank 1
answered on 13 Sep 2010, 08:47 AM
Hi Yavor Ivanov ,
this will work only if my text wiil be static!
but I need that this text position to be depending on something (eg:point )
thank.
this will work only if my text wiil be static!
but I need that this text position to be depending on something (eg:point )
thank.
0
Hello 1897,
This will position ellipses on Point positions anywhere on the screen. Kind regards,
Yavor Ivanov
the Telerik team
You can use data bound ItemsControl instead of Canvas like this:
<ItemsControl x:Name="items"> <ItemsControl.ItemTemplate> <DataTemplate> <Path Fill="{Binding Path=Brush, Mode=OneWay}" > <Path.Data> <EllipseGeometry Center="{Binding Path=Point, Mode=OneWay}" RadiusX="1.5" RadiusY="1.5" /> </Path.Data> </Path> </DataTemplate> </ItemsControl.ItemTemplate> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <Grid /> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> </ItemsControl>This will position ellipses on Point positions anywhere on the screen. Kind regards,
Yavor Ivanov
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items