Interactive editor
Explore 2D and 3D Charts
Add chart objects and adjust their layout and appearance.
Ready to tryUse the controls above to interact with this demo.
What this demonstrates
2D and 3D Charts
Add chart objects and adjust their layout and appearance.
Component used
TXTextControl.Web.MVC.TextControl
How it works
Chart objects are inserted from the Insert tab and edited through contextual chart controls. The resulting objects remain compatible with reporting and Word document formats.
Key code
This is the Razor helper chain that adds TX Text Control to the page.
<div class="tx-editor-host">
@Html.TXTextControl()
.TextControl(settings => {
settings.Dock = DockStyle.Fill;
})
.LoadText(documentPath, StreamType.InternalUnicodeFormat)
.Render()
</div>
Source files
See the implementation
The view, browser behavior, and controller are encapsulated in Demos/RichTextEditor/Editing/Charts.