Hi there,
I have an requirement to built 100% Stacked Bar Chart using infragistic .Net Control.
Infragistic do have that chart in place? If Yes can anyone guide me how to build that chart?
I have attahced the chart screen shot which we have implemented using SSRS reports.
Waiting for your reply.
Thanks,
Sanjay
Update :
we have Ultimate NetAdvantage 2012 package from Infragistics.
Hello sanjudak,
Thank you for contacting Infragistics!We received your support request concerning a stacked bar chart with percentages, and this case has been assigned to me. Infragistics is dedicated to helping you solve this issue. Our team and I have done an initial review of your case and I am looking into creating a sample to demonstrate this behavior and will get back to you by the end of the day Tuesday with more information or questions for you.
We also have the following documentation on the stacked bar chart data:http://help.infragistics.com/NetAdvantage/ASPNET/2012.1/CLR4.0/?page=Chart_Working_with_2D_Stacked_Bar_Chart_Data.html
Sincerely,Mike P.Developer Support EngineerInfragistics, Inc.www.infragistics.com
Thank you for your patience. I have a few questions concerning this matter. What does you data look like when you set it to the chart? Is it already the correct percentage or do you want the percentage displayed based on the total values entered? Is it a requirement to have the percentages be displayed on the bars of the chart itself?
Hello Mike,
Thanks for taking time to help me on this mater. we have different requirements in the chart displayed above has percentage and I have another chart which has numbers instead of percentage. Our data is correct percentage itself which will be displayed on chart. In other requirement we have numbers also Let say total is 45 then there will be two/ three data which will be 20, 10 ,15 and this will be displayed in one bar of the chart.
Yes it is a requirement to have percentages be displayed on the bars but if it is not at all possible to do so then we can have tool tip instead of displaying the percentage or number on bar itself.
Let me know if you need any other information.
Thanks, Sanjay
hi mike.. what if i want the percentage displayed based on the total values entered?
Hi Mike,
I appreciate all the helps you have provided so far. I have recently come across the requirement for bar chart which goes like this. I have numbers instead of percentage and when we show data on bar I have to show perecentage and when I hover over it should show the number.
I have attached the screen shot also.
I'm not sure how I can do that. Please let me know how it can be done.
Thanks,Sanjay
Hello Sanjay,
Thank you for the update. I have created a new case for this ColumnChart questions you have. You can access your support cases by going to the following location and logging in:https://ko.infragistics.com/my-account/support-activity
For applying a gradient to the chart please see the following documentation:http://help.infragistics.com/NetAdvantage/ASPNET/2012.1/CLR4.0/?page=Chart_Apply_a_Gradient_Effect_to_a_Primitive.html
Please let me know if you have any questions concerning this matter.
Thanks for all your support.
I have couple of question though 1) I'm trying to do the same in ColumnChart but not able to figure out. 2) How can I have gradient effect for the colors?
Looking forward for your reply.
Thank you for the update. Since the bar/stacked bar chart don’t have data for the y-axis it seems the way to do this is using the margins on the y-axis, please see the following documentation:
http://help.infragistics.com/NetAdvantage/ASPNET/2012.1/CLR4.0/?page=Chart_Axis_Margins.html
For the Legend I adjusted the SpanPercentage of the Legend property and it allowed the items to be displayed on the same line. You could also use the FillSceneGraph event to modify the legend:
http://help.infragistics.com/NetAdvantage/ASPNET/2012.1/CLR4.0/?page=Chart_FillSceneGraph_Event.html