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
Hi Mike,
Perfect. Sorry to bother you again but how can I have a custom colours on the bars? On every refresh the colour get chaged. How can I specify the color for the bars in the chart?
I'm integrating this charts in Sharepoint so far it's working perfectly fine. I have changed your code a little e.g deployment-scenario and ImgePipePageName. I have many charts built using SSIS reports and now we trying to get rid of SSIS reports so using infragistics chart control to do so. In future if I have question I will be asking you in this forum.
Thanks for all your supoort so far,
Hello Sanjay,
Thank you for the update. Please see the following documentation on styling the chart:
http://help.infragistics.com/NetAdvantage/ASPNET/2012.1/CLR4.0/?page=Chart_Assign_Custom_Colors_to_Chart_Elements.html
http://help.infragistics.com/NetAdvantage/ASPNET/2012.1/CLR4.0/?page=Chart_Appearance.html
Please let me know if you have any questions concerning this matter.
Thanks for the link I will go through the link and try to accomplish this.
I have couple of question though. 1) The first bar start from 0,0 instead I wanted some space on Y - axis. I mean when you look at the screen shot which I have attached in my first post it has some space on Y-Axis. Iwas able to have between the bars but couldn't get the way which helps me to have space between X-aix and first Bar. 2) In a Legend the data is diplayed vertically is there a way so that the data inside legend will be displayed horizonatally instead?
I'm sorry but I'm give you a lot of hard time.
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
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.
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
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://es.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