This is a migrated thread and some comments may be shown as answers.

Repeat background image in serie item

1 Answer 26 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mattias
Top achievements
Rank 1
Mattias asked on 10 Feb 2010, 08:53 AM
Hi,
Is it possible to repeat the background image in a serie item like it is in plain html?
item.Appearance.FillStyle.FillType = Telerik.Reporting.Charting.Styles.FillType.Image; 
item.Appearance.FillStyle.FillSettings.ImageDrawMode = Telerik.Reporting.Charting.Styles.ImageDrawMode.Align; 
item.Appearance.FillStyle.FillSettings.BackgroundImage = "/Media/status/whiteStrike.gif"

Regards,
Mattias

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 11 Feb 2010, 09:31 AM
Hello Mattias,

You can use ImageDrawMode.Flip:

RadChart1.Series[0].Items[0].Appearance.FillStyle.FillSettings.ImageDrawMode = ImageDrawMode.Flip;

You can then choose the way image is flipped by setting
item.Appearance.FillStyle.FillSettings.ImageFlip property to one of the ImageTileModes enum values.

Sincerely,
Ves
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
General Discussions
Asked by
Mattias
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or