Print Page | Close Window

Creating Chart Reports using XML

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=17814
Printed Date: 05 Apr 2025 at 5:40am


Topic: Creating Chart Reports using XML
Posted By: crystaljunkie
Subject: Creating Chart Reports using XML
Date Posted: 21 Oct 2012 at 9:29pm
Hi All,
 
I want to create a chart Reports using XML file as input using VS2008 default crystal reports version.
 
Please find the below given XML file for  getting the detais of reports to be developed. 
 
Graph reports is BAR chart reports having count like 2255,1059 etc on change of Month.
 
Can anyone please help me out in developing this report.
 

<?xml version="1.0" encoding="utf-8"?>

<dataset xmlns="http://developer.cognos.com/schemas/xmldata/1/" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">

<crosstab>

<values>

<value row="R1" col="C1">2255</value>

<value row="R1" col="C2">1059</value>

<value row="R1" col="C3">3042</value>

<value row="R1" col="C4">1094</value>

<value row="R1" col="C5">1050</value>

<value row="R1" col="C6">993</value>

<value row="R1" col="C7">526</value>

</values>

<corner>

<caption>Nbr of CYCLES</caption>

</corner>

<columns>

<colEdge>

<caption>2012</caption>

<colEdge id="C1">

<caption>October</caption>

</colEdge>

<colEdge id="C2">

<caption>November</caption>

</colEdge>

<colEdge id="C3">

<caption>December</caption>

</colEdge>

</colEdge>

<colEdge>

<caption>2013</caption>

<colEdge id="C4">

<caption>January</caption>

</colEdge>

<colEdge id="C5">

<caption>February</caption>

</colEdge>

<colEdge id="C6">

<caption>March</caption>

</colEdge>

<colEdge id="C7">

<caption>April</caption>

</colEdge>

</colEdge>

</columns>

<rows>

</rows>

</crosstab>

</dataset>

 




Print Page | Close Window