Ms Chart Funnel Setting Labels?

Mar 30, 2010

I have been playing around with the new ms chart controls 3.5 to create reports on web traffic. It looks like a pretty powerful extension, however, I am having trouble drawing a funnel chart the way I want.

I am trying to mirror one of the samples posted on ms's website but no luck. I have a datatable with two columns, first the labels, second the data like so.

page hits
default.aspx 9
products.aspx 7
contactus.aspx 2

I am able to populate the funnel correctly in that the largest part of the graph is default. However, when I put the labels on it only shows the data values, not the page name. Without the label showing property the graph is useless. I know it must work somehow because the sample chart displays product names as labels and not the datapoints.

View 8 Replies


Similar Messages:

Setting Time Labels On RangeBar Chart?

Feb 22, 2011

I have a RangeBar chart that will show different schedules and how they overlap. I can't seem to get AxisY (which is really AxisX, but they switch when you use a RangeBar for some reason) to display the hour. It displays a gridline for every hour, but the label is the date, which is not helpful at all.

I tried

asChart.ChartAreas["ChartArea1"].AxisY.CustomLabels.Add(0, DateTimeIntervalType.Hours, string.Format("{0:H}"));

but I get the error: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

View 1 Replies

Forms Data Controls :: .net 4 Chart Control - Hide Labels In Pie Chart?

Apr 28, 2010

Am I going mad/blind? Probably a combination of the two.

How does one go about removing the data labels from a pie chart with the new chart control in .net 4?

I can get these to display as tooltips absolutely fine, but ultiamtely I'd like the labels not to be present as it looks rather busy.

I've searched previous answers and seen code behind resolutions but surely there must be some sort of code infront option to turn these labels off?

View 2 Replies

Google Pie Chart And Bar Chart (both Interactive) Not Showing Labels?

Dec 22, 2010

I'm trying to put Google's BarChart and PieChart both the client side version, and i'm experiencing some problems with the labels over the pie and the labels on the left of the vertical axis (of the bar chart).

I checked the code a lot of times and it seems to be like that you can see in the examples.I've tried the same page on Firefox and Chrome and it shows the labels without problems.If i try the examples on IE8 the labels are shown but not in my page.Sincerely I've not any idea where to start to fix this thing.

View 1 Replies

Web Forms :: Displaying Both X And Y Labels In Pie Chart

Dec 19, 2010

I have a dataset that is binded to piechart control the dataset has 2 columns the "country name " as X and "population" As Y

I have 2 problems the first one I just want to display both X and corresponding Y Values

I try this code Chart1.Series[0].SetCustomProperty("PieLabelStyle", "outside"); it just display country name ONLY

the second problem I want the values to be distributed along 360C of the pie chart in other words I have 30 countries and want to be displayed and fit the circular pie

View 3 Replies

C# - Hide Labels In Pie Charts (MS Chart For .Net)

Jan 27, 2010

I can't seem to find the property that controls visibility of labels in pie charts. I need to turn the labels off as the information is available in the legend.

I tried setting the series labels to nothing Chart1.Series[i].Label = string.Empty; but the labels seem to show up anyway.

View 4 Replies

C# - How To Turn Off The X-axis Labels In A Chart Control

Jan 31, 2011

I want to programmatically turn on/off the labels on an Chart Control.

The chart is for a load of stats, by person, and I want to be able to anonymise it by removing the labels.

Can this be done from the Chart Control, or do I need to do it at the underlying data-table?

View 1 Replies

Forms Data Controls :: Chart Doesn't Show All Labels

Oct 6, 2010

I'm trying to create a very simple Column chart. There are 10 items in X axis, but chart shows only 3 of their labels. For clarification, I'm trying to show Product sales count in chart. There are 10 products. In X axis, chart shows 10 products but, only 3 of them has a label for product name. It should be a setting for this, bu I couldn't find it.

View 2 Replies

Vb.net - Chart Labels To Display At The Data Points On Multiple Series?

Mar 9, 2011

I have an ASP Chart (v4) which displays the data I need perfectly. I want it to show labels at the top of the data points and I am having some difficulty with it.

Here is my code that works for both series but does not display the labels:

[code]....

View 1 Replies

Forms Data Controls :: Able To Align Y-labels At Chart If Using MSchart Control?

Jan 12, 2011

I am wondering if I am able to align y-labels at chart if I am using MSchart control. I searched at google, but I got feeling it is not possible to align them, just title of y-axis.

Here snip of the chart if my question is not clear enough: [URL]

View 2 Replies

Web Forms :: Export Page With Multiple Chart Control Data (like Labels) To PDF

Jun 30, 2012

we are able to export GridView, Chart, Panel to PDF but by doing this we can only export 1 control. We ahve requirement of having multiple chart controls on one page (like Report dashboard) with some data in gridview etc. How can we export full page to PDF?

View 1 Replies

Forms Data Controls :: Creating Date Formatted Custom Labels For Chart X-axis?

Aug 13, 2010

I am trying to create a chart with three x-axis labels where the chart series x-value member is a date. That is, each data point is a day returned from a SQL Server table. The first label row is to be the day component, the second label row the month name component and the third label row the year. The returned dataset can be from any time period and of varying length. It needs to look like below so each day can be seen but the bigger picture is also shown.

x-axis label(0): 26 27 28 29 30 31 1 2 3 4 5 6

x-axis label(1): March April

x-axis label(2): 2010

I can set the first row using the design time properties as such

[Code]....

I am not sure how to create the next to custom labels at runtime. I have gone through the options using Add(Double, DateTimeIntervalType, Double, Double, String, Int32, LabelMarkStyle) and Add(Double, DateTimeIntervalType, String, Int32, LabelMarkStyle) but I just cannot get them to appear in the chart label.

I tried the other method
[Code]....

however could not find how to set the DateTimeIntervalType on the CustomLabel object.

There was nothing in the ChartSamples and I am not even sure if it can be done.

View 2 Replies

Forms Data Controls :: Selected Indexchanged Is Not Setting Labels?

Mar 8, 2010

What is wrong with this? I provided my selected indexchanged and gridview.

[Code]....

View 7 Replies

Forms Data Controls :: Getting Null Reference On Labels That Im Setting The Values To?

Mar 23, 2010

Why would i be getting NullReferenceException if im setting the labels with values?In my page_load i have the following:

Label hireMess = (Label)FormView1.FindControl("hireMess");
Label hireEnd = (Label)FormView1.FindControl("hireEnd");
HyperLink hyptry = (HyperLink)FormView1.FindControl("hyptry");

and right below that i have 1 condition to check for and then set the Text value of the 2 labels.hireMess.Text = "It Was Successfully!";hireEnd.Text ="You will be re-directed to your Pool in 10 seconds.";I compared the page to production and eveyrthing is the same and production doesnt have any issues.. not sure why its coming up null.The error comes up for the first label:Object reference not set to an instance of an object. Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.Source Error:

[Code]....

View 5 Replies

MVC :: Setting ChartType In New Chart Helper?

Jan 21, 2011

I'm trying to use one of the new Chart helpers in MVC 3. I'd like it to display a line chart, and have this code in an action method called as the src attribute of an img tag in my view:

[Code]....

No matter what I set the chartType value to, it displays a column chart. It's a nice column chart, but that makes no sense for the data. I'm sure I'm doing something wrong that is painfully obvious, but I've been staring at it for too long now to see it.

View 10 Replies

Chart: Final Series Getting Cut Off When Setting .AxisX.Maximum?

Dec 19, 2010

I'm trying to bind a data table like:

month value
5 345
10 1300
12 450

to an ASP.NET Chart control. My problem is that the data table only contain months that have values while in the chart i want to show the full month range from 1st to the 12th.

So i used :

Chart1.ChartAreas["ChartArea1"].AxisX.Minimum = 1;
Chart1.ChartAreas["ChartArea1"].AxisX.Maximum = 12;

But when i do this, a part of the final series gets cut off in the middle like this.

I can avoid this issue by making the maximum 13 but that would not be appropriate since i just need to show the months of the year.

View 2 Replies

Forms Data Controls :: Chart Setting Number Of Points On Y Axis?

Feb 17, 2011

I am currently using the new asp.net chart control.In this control i am not setting the maximum, minimum and the interval value because they are dynamic.ow once the graph is populated from database, the asp.net is only generating 4-5 points on the y -axis, i want it to show at least 10 values.But i am not sure how to increase the number of points on Y & X Axis.

View 1 Replies

Forms Data Controls :: Labels From Item To Add With The Labels Outside Of The Datalist?

Oct 25, 2010

I have a page with a datalist on it, with an image button and some labels in the datalist item(1,2)..

I have some more labels on the page which get their values from querystrings(17,18)..

I have more labels which are empty (34,35)

On image click in the datalist item, i want the labels from that item to add with the labels outside of the datalist, and the last lot of labels to show this number..

Currently it doesnt do this. Here is my code:

protected void Page_Load(object sender, EventArgs e)
{
Label17.Text = Request["b1"];
Label18.Text = Request["b2"];
}
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
DataListItem item = ((Control)sender).NamingContainer as DataListItem;
Label Label1 = item.FindControl("Label1") as Label;
Label Label2 = item.FindControl("Label2") as Label;
Label34.Text = (int.Parse(Label1.Text) + int.Parse(Label17.Text)).ToString();
Label35.Text = (int.Parse(Label2.Text) + int.Parse(Label18.Text)).ToString();

View 3 Replies

Forms Data Controls :: Using Dot Net Chart Control Last Column Of Chart Is Not Completely Appearing?

Jul 9, 2010

I have an issue in using dot net chart control. In chart last column is not completely shown which give bad appearance and on right side of chart it looks like TickMark are enabled. I set MajorTickMark of AxisY2 disabled but still tick marks on right side.

View 2 Replies

Forms Data Controls :: How To Freeze The X Axis Of The Chart Control In Ms Chart

Feb 24, 2010

how to freeze the x axis of the chart control in ms chart? need to use because data displayed at large amount that is scrollable.

View 1 Replies

Forms Data Controls :: MS Bar Chart.How To Reload Ms Bar Chart On Selecting A Value From A Dropdownlist

Jan 28, 2011

I have a drop downlist,and next to it there is an MS bar chart.i want to change the datate of the MS chart ,once the user selects another year from the dropdownlist.

When the page loads ,the chart displays the default year(2011) and it works.The problem is that is does not change the data when you select another year from the dropdownlist.

View 1 Replies

Forms Data Controls :: Pie Chart Size In Charting / Using MS Chart Control (3.5)?

Aug 12, 2010

I am using MS Chart control (3.5), and have a requirement where I need to display 2 pie charts. The datapoints for the pie charts is set programatically. My doubts are as follows:

1. Can I display both the pie charts in a single chart control and area, or do I have to use two controls? (Currently I am using two controls)

2. How can I maintain the same size for both the pie charts? This is my main concern, since the pie sizes keep changing, depending on the number of datapoints. I tried using custom properties like "MinimumRelativePieSize", but it's not working.

View 1 Replies

Forms Data Controls :: Creating Stacked Bar Chart From VS2010 Chart Control (Documentation)

Nov 17, 2010

i'm trying to create a stacked bar chart on a vb web form using vs2010.My data source returns:

Error in Functionality Awaiting on Supplier

1IMT IssuesmActive6

IMT Issues,Awaiting on Supplier

2,IMT Issues,Awaiting on User 4

IMT Issues Closed 120

Login / Password Active

But I can't get this into a stacked chart. I know I must have to do quite a bit of work declaring what the series are and soforth, or having a different dataset but can't find any documentation on it.A link to some documentation or an example of a stacked chart from an sql datasource would be much appreciated.

View 1 Replies

Forms Data Controls :: Chart Control Tooltip On Pie Chart Not Updating On Partial Postback?

May 21, 2010

I started using the awesome chart controls with my asp.net apps recently and so far they've been nothing short of breath taking. Right now I have a weird problem, on the first load of my page, the chart control appears correctly and the tooltip is correct, however, when I update it with new data, the chart displays correctly, but the tooltips are for the previous set of data.

I hope this makes sense. The first time I load the chart, the pie chart segments and tooltips are correct, after a partial postback (to get the new data), the pie chart segments are correct but the tooltips are for the previous data set.

Basically once the tooltips are set the first time, they can't be updated after that without a full page postback.

Here's how I set the tooltip:

[Code]....

Anyone else noticed this behaviour and have a work around?

Currently my only workaround is to check for a partial postback and not render the tooltip, which I'd rather not do as the tooltip display actual statistical data as opposed to the pie itself (which uses percentages).

View 2 Replies

Web Forms :: How To Make Scatter Plot Chart With X Y Using Chart Control

Jul 19, 2010

I have X and Y data columns coming from database.

I have to show scatter plot chart with Linear, Exponential, Log, power using asp.net chart control.

How to do that?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved