Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
455
For pie chart we cant save pdf with color for single entity
posted

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles

Button1.Click

 

 

Dim r As XDW.Documents.Report.Report = New

XDW.Documents.Report.Report()

UltraChart1.RenderPdfFriendlyGraphics(r.AddSection().AddCanvas().CreateGraphics())

r.Publish(

 

"C:\report.pdf"

, XDW.Documents.Report.FileFormat.PDF)

 

 

End

Sub

 

 

Private Sub chartdemonew_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase

.Load

 

 

Dim myColumn As New

DataTable

myColumn.Columns.Add(

 

"Series Labels", GetType(String

))

myColumn.Columns.Add(

 

"Column A", GetType(Integer

))

 

 

myColumn.Rows.Add(

New

[Object]() {2, 3})

 

 

UltraChart1.ChartType = ChartType.PieChart

UltraChart1.DataSource = myColumn

End Sub

 

For pie chart we cant save pdf with color for single entity

code is above

wht can i do?

there is any solution? 

Parents Reply Children
No Data