Regarding to SF diagram

Hi team,

When we set image as a background of "SF diagram".It coming out correctly but when zoom in it is not scaling.

Quick response will be appreciated.


Thanks,
Shiva Kumar.


3 Replies

KR Karkuvel Rajan Shanmugavel Syncfusion Team August 3, 2018 08:53 AM UTC

Hi Shiva, 
 
To apply background for diagram, please use PageSettings.PageBackground property of SfDiagram. We have provided a Sample, Code Example and Documentation Link for your requirement. 
 
Code Example: 
 
            <syncfusion:SfDiagram.PageSettings> 
                 
                <syncfusion:PageSettings> 
                     
                    <syncfusion:PageSettings.PageBackground> 
                         
                        <!--Provide Required Image for Background--> 
                         
                        <ImageBrush ImageSource="C:\Old Files\Files\Files\Saved Pictures\Serialization.png" Stretch="Fill"></ImageBrush> 
                         
                    </syncfusion:PageSettings.PageBackground> 
                     
                </syncfusion:PageSettings> 
                 
            </syncfusion:SfDiagram.PageSettings> 
 
 
 
 
Regards, 
Karkuvel Rajan S 



SH Shiva August 3, 2018 09:38 AM UTC

Hi,

I was able to set image as background but the problem is when I zoom into the diagram background image is not scaling.


Thanks,

Shiva Kumar.


KR Karkuvel Rajan Shanmugavel Syncfusion Team August 6, 2018 11:36 AM UTC

Hi Shiva, 
 
We are unable to reproduce the reported issue after setting page background. Please make sure that you are using ‘SfDiagram.PageSettings.Background’ instead of SfDiagram.Background. We have provided a sample and video link to show that the reported issue is not reproduced.  
 
 
 
If the issue still reproduced after setting the Background for PageSettings. Please modified the provided sample or provide code example and the Essential Studio version used.   
 
Regards, 
Karkuvel Rajan S 
 


Loader.
Up arrow icon