How to make up an unallocated portion to 100% for a Pie Charthttp://forums.asp.net/t/1795719.aspx/1?How+to+make+up+an+unallocated+portion+to+100+for+a+Pie+ChartMon, 23 Apr 2012 03:51:54 -040017957194945270http://forums.asp.net/p/1795719/4945270.aspx/1?How+to+make+up+an+unallocated+portion+to+100+for+a+Pie+ChartHow to make up an unallocated portion to 100% for a Pie Chart <p>Hey guys</p> <p>I need to show time distribution in the form of a pie chart. I am relying on people allocating 40 hours a week of time, however time can be left unallocated. The pie chart can show that 100% of 30 hours was allocated,&nbsp;however this is misleading as it is not&nbsp;100%&nbsp;allocated in terms of 40 hours.</p> <p>The records are&nbsp;compiled in a sql view and are made up of many entries making up a week.&nbsp; I can pin it down to a 7 day date range, and assume that it will always be 40 hours. How to i calculate the missing time and show it seamlessly as just another section on the pie chart?</p> <p>I'm working on an idea of creating a 'command' under database expert, which will be a summarised version of the original view, complete with subqueries to make up the time, creating a (sql) union query of sorts to the view also under database expert. If it allows me to do such a thing.</p> <p>Also I have a requirement to keep the colours consistent in subsequent pie charts.&nbsp;One chart for each person&nbsp;is&nbsp;shown on the same report. To do this&nbsp;I&nbsp;need to 'create' records with a value of 0% to act as a place holder for that colour. This will make the charts more user friendly as it would be more easy to compare the distribution at a glance.</p> <p>I believe fixing one will give me the key to fix the other.</p> <p>Any&nbsp;ideas? Surely someone has had these problem before.</p> 2012-04-23T03:51:54-04:00