Coder Social home page Coder Social logo

devexpress-examples / reporting-use-subreport-to-add-a-chart Goto Github PK

View Code? Open in Web Editor NEW
0.0 57.0 1.0 775 KB

How to create a report at runtime with a subreport that contains a chart control.

License: Other

C# 51.55% Visual Basic .NET 48.45%
chart xtrareport reporting subreport runtime reporting-for-winforms

reporting-use-subreport-to-add-a-chart's Introduction

Reporting for WinForms - Use Subreport Control to Add a Chart

Review the guidelines aided in the creation of this example.

Main Report

  • The main report lists products grouped by category.
  • The GroupHeader band displays the category name.
  • The GroupFields collection specifies the group field (the CategoryID field).
  • The Detail band lists products from the group field category.
  • The GroupFooter band contains an XRSubreport control.
  • The XRSubreport's ReportSource property references a chart report.
  • Add an item to the XRSubreport's ParameterBindings collection to bind the chart report's subreportCategory parameter to the main report's group field (the CategoryID field).

Chart Report

  • The chart report visualizes products for a certain category.
  • The chart report includes the XRChart control.
  • Add an item to the chart's Parameters collection to bind the chartCategory parameter to the report's subreportCategory parameter.
  • The chart series' FilterString property uses the chartCategory parameter value to filter data.

Report with Chart Subreport

Files to Review

Documentation

More Examples

reporting-use-subreport-to-add-a-chart's People

Contributors

andreylepikhov avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

mario19941213

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.