User (Legacy) Posted October 20, 2005 Report Share Posted October 20, 2005 Hi, how can I fill the bars on a chart with a picture instead to use a color? How does it works? Thanks, Thorsten Link to comment Share on other sites More sharing options...
Software FX Posted October 20, 2005 Report Share Posted October 20, 2005 chart1.Series[0].Scheme = Scheme.Pattern; chart1.Series[0].Picture = Image.FromFile(@"C:\WINDOWS\FeatherTexture.bmp"); -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
User (Legacy) Posted October 21, 2005 Author Report Share Posted October 21, 2005 Many thanks, but I have a question again. Can I stretch / reduce the image to the width of a bar? My problem is the chart height / width are dynamic for the resolution of the browser window. Only on a special resolution can I see only one picture on the bar. Thorsten Thelen "SoftwareFX Support" <noreply@softwarefx.com> schrieb im Newsbeitrag news:74SYPPb1FHA.1708@webserver3.softwarefx.com... > chart1.Series[0].Scheme = Scheme.Pattern; > > chart1.Series[0].Picture = > Image.FromFile(@"C:\WINDOWS\FeatherTexture.bmp"); > > > -- > Francisco Padron > www.chartfx.com > > Link to comment Share on other sites More sharing options...
Software FX Posted November 2, 2005 Report Share Posted November 2, 2005 The image is used as a brush, so it is just tiled over the drawing area. -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.