We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Adding Chart control to SfRichTextBoxAdv

Hello,

How can we insert a chart just like in MS Word in a SfRichTextBoxAdv control? 

6 Replies

DB Dilli Babu Nandha Gopal Syncfusion Team January 18, 2019 03:22 PM UTC

Hi Sudip, 
 
Greetings from Syncfusion. 
 
At present, we don’t have support for inserting chart in SfRichTextBoxAdv control, like Microsoft Word. We have logged this as feature request in our database. We will implement this feature in any of our upcoming releases. We will update you when this feature has been implemented.    
https://www.syncfusion.com/feedback/3011/chart-element-in-word-document 

Can you please check the below work around plan and confirm us whether your requirement will satisfy with this work around plan? Thereby we will prepare an example for this use case and share you. 
 
    1. Insert/embed SfChart control inside the SfRichTextBoxAdv control  
    2. In exported Word document the chart will be preserved as an image (Screenshot of SfChart control) 
 
Regards, 
Dilli babu. 



SU Sudip replied to Dilli Babu Nandha Gopal January 22, 2019 09:45 AM UTC

Hi Sudip, 
 
Greetings from Syncfusion. 
 
At present, we don’t have support for inserting chart in SfRichTextBoxAdv control, like Microsoft Word. We have logged this as feature request in our database. We will implement this feature in any of our upcoming releases. We will update you when this feature has been implemented.    
https://www.syncfusion.com/feedback/3011/chart-element-in-word-document 

Can you please check the below work around plan and confirm us whether your requirement will satisfy with this work around plan? Thereby we will prepare an example for this use case and share you. 
 
    1. Insert/embed SfChart control inside the SfRichTextBoxAdv control  
    2. In exported Word document the chart will be preserved as an image (Screenshot of SfChart control) 
 
Regards, 
Dilli babu. 


Hi Dilli babu,

"Can you please check the below work around plan and confirm us whether your requirement will satisfy with this work around plan? Thereby we will prepare an example for this use case and share you.  
    1. Insert/embed SfChart control inside the SfRichTextBoxAdv control  
    2. In exported Word document the chart will be preserved as an image (Screenshot of SfChart control) "


- Thanks for the update!
  Yes, it will suffice our requirements. 
  Also, we need info on how to export SfRichTextBoxAdv control content to excel sheet?


SU Sudip January 24, 2019 06:32 AM UTC

Hi,

Any update on the requirement?


RT Ramya Thirugnanam Syncfusion Team January 24, 2019 10:51 AM UTC

Hi Sudip, 
 
Regarding insert SfChart control in SfRichtextbox control  
We have created sample for insert SfChart control inside the SfRichTextBoxAdv control using UI container. You can download the sample from the below link.  
 
Regarding export to excel sheet  
We do not have support for export SfRichTextBoxAdv control content as excel. Since, the two file formats are entirely different. But, you can achieve this by manually  iterate and mapping SfRichTextBoxAdv object model to excel object model. The sample can be downloaded from the below link.  
SfRichTextBoxAdv document structure help documentation link. 
XlsIO help documentation link . 
 
Regards, 
Ramya T 



SU Sudip February 4, 2019 02:31 PM UTC

Thanks a lot!!

Actually, we need to display an insert chart option in Insert tab which on click will display an interface provided below from where the end user can add/modify the chart as per their needs. 



Any help on this will be appreciated. Thanks in advance.


RT Ramya Thirugnanam Syncfusion Team February 5, 2019 07:30 AM UTC

Hi Sudip, 
 
From the provided details and screenshot, we can understand that your requirement is need an UI interface to edit/customize chart in RichTextBox control, like Microsoft Word. We will add this scenario to the feature request and consider this requirement while implementing the below feature.  
 
Now, you can now track the status of your request, review the proposed resolution timeline, and contact us for any further inquiries through below link.  
 
 
If you require this functionality in provided workaround application, you can try creating custom UI interface and add it with below workflow, to edit/customize chart.  
1.      On insert chart, open custom UI interface with predefined set of chart templates using WPF SfChart control  
2.      On click insert in that interface add UI container with SfChart into RichTextBox control  
For more information about WPF SfChart control, you can refer our UG documentation from below.   
 
Regards, 
Ramya T 


Loader.
Live Chat Icon For mobile
Up arrow icon