| |
|

ActiveReports for .NET 2.0 Support
Started by PainessProd at 02-19-2010 1:22 PM. Topic has 3 replies.
 
 
 
|
|
Sort Posts:
|
|
|
|
02-19-2010, 1:22 PM
|
PainessProd
Joined on 11-10-2005
Posts 31
|
|
|
i think i may be slow but cant figuire this out
i have a pie chart which i am binding xy
with
chartControl.Series[0].Points.DataBindXY(xValues, yValues);
where X is:
[0] "Sample Item1" string
[1] "sample item 2" string
[2] "sample item 3" string
[3] "sample item 4" string
[4] "sample item 5" string
[5] "sample item 6" string
[6] "sample item 7" string
[7] "sample item 8" string
[8] "sample item 9" string
[9] "sample item 10" string
[10] "8436 Others" string
and Y is:
[0] 57677956.35 decimal
[1] 23691513.65 decimal
[2] 16845637.64 decimal
[3] 14792748.71 decimal
[4] 14562095 decimal
[5] 8971601.25 decimal
[6] 8734187.645 decimal
[7] 7234266 decimal
[8] 7221381.68 decimal
[9] 7047940.8 decimal
[10] 589534836.856890992192 decimal
when i get the report my legend just show numbers and i cant seem to format them either
|
|
|
|
|
Report
|
|
|
|
02-19-2010, 1:35 PM
|
PainessProd
Joined on 11-10-2005
Posts 31
|
|
|
I would expect to see a legend with both the strings and the numbers together or a line off the pie chart itself with the number and the strings in the legend
|
|
|
|
|
Report
|
|
|
|
02-22-2010, 12:07 AM
|
SankalpS
Joined on 12-11-2008
Posts 2,587

|
|
|
PainessProd,
In order to display both the strings and the numbers together on the legend, you will need to set the LegendText property for the DataPoint in the legend. I have attached a sample application created in ActiveReports for .NET 3.0 which demonstrates how you may display the number and the string in the Pie chart legend. I have used a sample database for this sample. Please go through the sample application and let me know if it works for you.
Regards, Sankalp
Sankalp Sen GrapeCity- DataDynamics
|
|
|
|
|
Report
|
|
|
|
02-22-2010, 1:13 PM
|
PainessProd
Joined on 11-10-2005
Posts 31
|
|
|
thank you that did the job, was hoping for it to be a lil more hands off but alas it works and im happy
|
|
|
|
|
Report
|
|
|
|
|
GrapeCity » Product Support » ActiveReports f... » Re: Pie Graphs
|
|
|
|
|