I did try to follow this example but it is in vb.net
also i want a bar chart but just one bar which shows two different colors
Sales – Table
salesid , salesperson, Productid, product, Goalpermonth goalperquarter achievedgoalpermonth achievedgoalperquarter
1 Jon 1 TV 100 300 15 200
2 jane 1 TV 50 100 25 90
3 Jon 2 radio 100 300 15 200
4 jane 2 radio 50 100 25 90
my page should have a dropdown with two values ( jon , jane)
once jon is selected then my bar chart should be show product tv on Y axis then 1 bar chart with goalpermonth value in grey and achievedgoalpermonth in green
and as he nears his goal of hundred thegrey part should decrease and the green part should increase
IF jANE IS SELECTED FROM DROPDOWN THEN BAR CHART SHOULD LOOK LIKE THIS
It seems that you have found the answer yourself as mentioned in the following link : http://our.componentone.com/groups/asp-net/studio-for-asp-net/forum/topic/webchart-barchart-overlapping/
If you want to stack the data then you may set the Stacked property of the ChartGroup to true. For more information on same, you may refer to this link : http://helpcentral.componentone.com/nethelp/c1webchart2d/default.htm?turl=XMLDocuments%2FC1Chart2DReference%2Fhtml%2FP_C1_Win_C1Chart_ChartGroup_Stacked.htm
Let me know if you have any other questions.
yes I can use stacked webchart for showing what i want, my question is
if I have two pairs of value , it shows it in one bar chart with 4 colors combination
but i want it to show two stacked barchart next to each other how do i do it
tv |—–GREY——–_______GREEN____ 1 month (1st stacked bar chart)
tv|—–BLUE—–__________RED_____ 3 month (2nd stacked bar chart)
as of now it gives me
tv |—–GREY——–_______GREEN____———–BLUE___________RED_____ ( just one chart ) instead of two , yes i can show regular bar chart with 1 next to another but i have to show it for 10 people and that means i have will have to deal with 20 bars which do not fit into the area
but i want
series 0 series 0
series 1 series 1
Also please let me know how i can use 1 on 1 corresponding to x and y coordinates mapping from a table X , X1 , Y, Y1
I am not clear about your requirement since in a stacked bar chart, different dataseries are displayed as one on top the other like
So, I would request you to send a small sample replicating the issue so that I can check and can provide you further assistance. Also, if possible, send the screen shot of output which you are getting and the desired output.
Regarding your other query, you need to set the DataField properties of X and Y objects of dataseries and you may refer to the below link for more details : http://helpcentral.componentone.com/nethelp/c1webchart2d/default.htm?turl=databinding.htm
Please find attached data and reqirements in sheet one and screenshot in sheet 2
I have created a sample implementing your requirement of having one bar chart caseGoal /Case Actual and other for AcctGoal/AcctActual. I have bind the chart with your datatable and plotted two dataseries : one for CaseGoal and other for CaseActual against the SQName on x-axis. Kindly check the attached sample("barChart") and let me know your observations.
Regarding your other query i.e customize text in tooltip, I have escalated it to the concerned team(TFS ID:16327) and would update you as soon as I hear anything from them.
if you look at the demo in the link below
if I hover on the bike , it shows a ballon or tool tip dont know what that is , I want the same functionality and if you click on the bike image it takes you the detail page and left hand side it has a small graph which shows percentage which are dynamic
Thanksrichas14p said 1 year, 9 months ago:
We have received a reply from the developer. The customized tooltips are not shown due to the implementing problem. It needs 3 correct number of points for a circle, instead of 2.
The developer gave a workaround to view the customized tooltips. Please refer to the attached sample for more clarity.
Let me know in case you have further queries.
RichaViewing 9 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic.
WebChart for ASP.NET
- ComponentOne Ultimate
- Studio Enterprise
- Studio for WinForms
- Studio for WPF
- Studio for Silverlight
- Studio for Windows Phone
- Studio for ASP.NET Wijmo
- Studio for iPhone
- Studio for Entity Framework
- Studio for ActiveX
- Studio for Compact Framework
- Studio for WinRT XAML
- Studio for WinJS
- Spread Studio for .NET
- Spread for WinForms
- Spread for ASP.NET
- Spread WPF-Silverlight
- Spread WinRT
- Spread COM
- Wijmo - HTML5/jQuery
- Maps Powered by Esri
- Studio for LightSwitch
- OLAP for WinForms
- OLAP for Silverlight
- OLAP for LightSwitch
As a leading component vendor in the Microsoft Visual Studio Industry Partner program, ComponentOne has been providing the widest range of Microsoft Visual Studio components, IDE platform development tools, and applications for over 22 years. ComponentOne product lines encompass custom WinForms, ASP.NET, WPF, Silverlight, Mobile, and COM components, documentation tools, and Web Parts for Microsoft Office SharePoint Server and Windows SharePoint Services.
Contact ComponentOne: 1.800.858.2739 | Pittsburgh: 412.681.4343
©2013 ComponentOne LLC All Rights Reserved.
All product and company names herein may be trademarks of their respective owners.
ComponentOne holds a license under Patent No. 5,490,216 (which expires on September 21, 2013)