Table of Contents |
---|
On the left toolbar, there is the option to create charts
Select and then create a box in the report grouping that you want the chart.
Select the chart and a little blue box will pop up in the corner.
A Chart Tasks dialog box will pop open and here you can select "Run Wizard"
The will enable the Chart Wizard
Chart Type
You can select the type of chart you want. Examples are Bar charts, Line Charts and Bubble Charts.
Appearance
Set the Color schemes for your charts.
Series
This is where you set the different series you want and what type of chart you want for the series. Each series will be data values in the chart and the arguments to be set for each.
Data
This is where you will bind the data to the series.
Chart
Set formatting for the Chart such as backgrounds.
Diagram
Set any secondary axis to the chart
Panes
Set formatting and Appearance of the chart.
Axes
Formatting the axis and the ranges for the data values.
Series Views
Formatting the series or the chart data
Point Labels
Show the data points with Labels and how to format those labels
Chart Titles
Add a chart title and format it.
Legend
Add a Legend and format it.
Annotations
Add Annotations at different points in the chart.
Here is additional information from Dev Express on Charts: https://docs.devexpress.com/XtraReports/2609/detailed-guide-to-devexpress-reporting/use-report-controls/use-charts/use-charts-in-reports
Scripts to group chart data:
By Flock
Private Sub chart1_BeforePrint(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintEventArgs)
Dim xrc As XRChart = CType(sender,XRChart)
Dim filter_value As String = GetCurrentColumnValue("General_GroupCode")
' System.Windows.Forms.MessageBox.Show(filter_value)
if Not String.IsNullOrEmpty(filter_value) then
For each srs as Series in xrc.Series
srs.DataFilters.Clear
srs.DataFilters.Add(New DataFilter("LayerReportData.General_GroupCode", "System.String", _
DataFilterCondition.Equal, filter_value))
Next
end if
End Sub