hades2012 Posted July 29, 2010 Share Posted July 29, 2010 When all or most slices have the same match number.The max number of slices option have no effects. For example,I set the max slices to 5.And the data source has 15 different categorys which have same number. Then the pie chart will show 15 slices. It is really a disaster.We can use the direct SQL below to verify. We set the max number of slice to 2.SELECT 'Barack Obama' as candidate, 32323232 as votesUNION SELECT 'John McCain' as candidate, 23434343 as votesUNION SELECT 'Ralph Nader' as candidate, 43532 as votesUNION SELECT 'Bob Barr' as candidate, 43242 as votesUNION SELECT 'Chuck Baldwin' as candidate, 54353 as votesUNION SELECT 'Cynthia McKinney' as candidate, 42334 as votesUNION SELECT 'Other' as candidate, 89898 as votes[/code]It is Ok now.And we use SQL below , bad things happen.SELECT 'Barack Obama' as candidate, 3000000 as votesUNION SELECT 'John McCain' as candidate, 3000000 as votesUNION SELECT 'Ralph Nader' as candidate, 3000000 as votesUNION SELECT 'Bob Barr' as candidate, 3000000 as votesUNION SELECT 'Chuck Baldwin' as candidate, 3000000 as votesUNION SELECT 'Cynthia McKinney' as candidate, 3000000 as votesUNION SELECT 'Other' as candidate, 3000000 as votes[/code] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now