Page 1 of 2

pie chart issues and interval issue

Posted: Mon May 02, 2022 11:38 am
by dmasterplan
1) Why does the chart is covering the header when
2) there is enough space between the end of the charts and end of the Report Title
3) how can I make the two pie charts the same size? AND distribute pie segments equally? (I think it divides 1/6th of the pie)
4) I have 222 data (as packages), why does the interval look like this? (see image - highlighted in red)

I have this as the condition for interval:

Code: Select all

if(vTotalPackages == 10) {
	this.Chart3_Area.YAxis.Labels.Step = 2;
} else if(vTotalPackages == 800) {
	this.Chart3_Area.YAxis.Labels.Step = 160;
} else if(vTotalPackages > 800) {
	this.Chart3_Area.YAxis.Labels.Step = 200;
} else {
	this.Chart3_Area.YAxis.Labels.Step = 1;
}

Re: pie chart issues and interval issue

Posted: Mon May 02, 2022 1:55 pm
by dmasterplan
Please ignore item #4

I realized that my code lacks a condition:

if(vTotalPackages == 10) {
this.Chart3_Area.YAxis.Labels.Step = 2;
}else if (vTotalPackages >= 200){
this.Chart3_Area.YAxis.Labels.Step = 50;
}
else if(vTotalPackages == 800) {
this.Chart3_Area.YAxis.Labels.Step = 160;
} else if(vTotalPackages > 800) {
this.Chart3_Area.YAxis.Labels.Step = 200;
} else {
this.Chart3_Area.YAxis.Labels.Step = 1;
}


Item number 4 is solved.

Questions are just items 1,2, and 3.
Please help me. I really really need to fix these. I seriously need help.

Re: pie chart issues and interval issue

Posted: Mon May 02, 2022 2:15 pm
by dmasterplan
Another question:

How to separate chart space from the legend space.
Two Pie charts need to be same size but one has two legend items and the other has variable number in range 2-10 values.
How to separate Pie chart area from the Legend area?

Re: pie chart issues and interval issue

Posted: Tue May 03, 2022 9:30 am
by Lech Kulikowski
Hello,

1) Why does the chart is covering the header when
2) there is enough space between the end of the charts and end of the Report Title

Please send us a sample report with test data that reproduces the issue for analysis.

3) how can I make the two pie charts the same size? AND distribute pie segments equally? (I think it divides 1/6th of the pie)

There I s the task in our to-do list.

Thank you.

Re: pie chart issues and interval issue

Posted: Tue May 03, 2022 11:56 am
by dmasterplan
I will try to convert the SQL output to XML and send you test the report and sample data.
OR what's the best way to send the data? the database is huge and I can't send it.

Re: pie chart issues and interval issue

Posted: Tue May 03, 2022 1:17 pm
by dmasterplan
Hi,

Here is the sample report with the SQL result converted to XML.
I only generated the XML for the pie chart that is covering the header.

Edited:
I added xml datasource for dsPackages

Please tell me if you have anything needed.

Great Thanks

Re: pie chart issues and interval issue

Posted: Tue May 03, 2022 1:54 pm
by Lech Kulikowski
Hello,

It is not possible to run your report with the sent data.
Could you prepare a simple report that we can run and reproduce the issue, and send us for analysis?

Thank you.

Re: pie chart issues and interval issue

Posted: Tue May 03, 2022 2:30 pm
by dmasterplan
Hi,

Is this okay? I have created a database with the data for Contact Package Stage pie chart.

Great Thanks

Re: pie chart issues and interval issue

Posted: Wed May 04, 2022 1:41 am
by dmasterplan
I'm sorry, I forgot to attach the sample report.
Here it is.

1. There is a space between the end of the chart and end of the header.
2. When previewed, the chart covers the header.

Re: pie chart issues and interval issue

Posted: Wed May 04, 2022 7:32 am
by dmasterplan
dmasterplan wrote: Mon May 02, 2022 11:38 am 1) Why does the chart is covering the header when
2) there is enough space between the end of the charts and end of the Report Title
3) how can I make the two pie charts the same size? AND distribute pie segments equally? (I think it divides 1/6th of the pie)
4) I have 222 data (as packages), why does the interval look like this? (see image - highlighted in red)

I have this as the condition for interval:

Code: Select all

if(vTotalPackages == 10) {
	this.Chart3_Area.YAxis.Labels.Step = 2;
} else if(vTotalPackages == 800) {
	this.Chart3_Area.YAxis.Labels.Step = 160;
} else if(vTotalPackages > 800) {
	this.Chart3_Area.YAxis.Labels.Step = 200;
} else {
	this.Chart3_Area.YAxis.Labels.Step = 1;
}
Hi,

I think the segments are correct.
1. this pie chart divides the segments correctly as the segment with green color has 7 count so it has the biggest segment.
2. this pie chart segment division is correct as well as "Awaiting Tender" (light green) has 197 count so it has the biggest share.

I think this is not an issue.

Great Thanks