Profile Picture

Center Picture for background

Posted By Daniel Csimszi 10 Years Ago
Author
Message
Daniel Csimszi
questionmark Posted 10 Years Ago
View Quick Profile
Forum Guru

Forum Guru (50 reputation)Forum Guru (50 reputation)Forum Guru (50 reputation)Forum Guru (50 reputation)Forum Guru (50 reputation)Forum Guru (50 reputation)Forum Guru (50 reputation)Forum Guru (50 reputation)Forum Guru (50 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 61, Visits: 35
Hi,

I am just wondering if it is possible to center an image for graph background instead of setting it to stretch?

I know I can set the background the way like that:

NImageFillStyle imageFillStyle = new NImageFillStyle("image path");

m_Chart.Wall(ChartWallType.Back).FillStyle = imageFillStyle;
m_Chart.Wall(ChartWallType.Left).FillStyle = imageFillStyle;
m_Chart.Wall(ChartWallType.Floor).FillStyle = imageFillStyle;

But that always re-sizes the picture.

Thank you,
Daniel




Similar Topics


Reading This Topic