Chart Control Doesn't Show Anything

Mar 9, 2010

I am using the new ASP control "Chart", but I have some problems with it: I can't see anything when I execute the aspx. The data is binded to a ObjectDataSource, like this:

<asp:Chart ID="RcrBufferChart" runat="server" Visible="true"
DataSourceID="RcrBufferSizeODS" BackColor="WhiteSmoke" BackGradientStyle="TopBottom"
BackSecondaryColor="White" Palette="BrightPastel" BorderDashStyle="Solid"
BorderColor="26, 59, 105" Height="583px" Width="1159px" >
<borderskin skinstyle="Emboss"></borderskin>
<series>
<asp:series Name="Series1" ChartType="Spline" ShadowColor="Black"
BorderColor="180, 26, 59, 105" Color="224, 64, 10" IsValueShownAsLabel="True"
XValueMember="CreationDate" XValueType="DateTime" YValueMembers="Size"
YValueType="Double"></asp:series>
</series>
<chartareas>
<asp:ChartArea Name="ChartArea1">
<AxisY Title="Tamaño RCR sin enviar">
</AxisY>
<AxisX Title="Fecha">
</AxisX>
</asp:ChartArea>
</chartareas>
</asp:Chart>
<asp:ObjectDataSource ID="RcrBufferSizeODS" runat="server"
SelectMethod="GetByAppliance"
TypeName="Esabe.Grazalema.Business.RcrBufferSizes">
<SelectParameters>
<asp:QueryStringParameter Name="serialNumber" QueryStringField="SerialNumber"
Type="String" />
</SelectParameters>
</asp:ObjectDataSource>

but the result I get is the following: Does anyone know why it isn't showing anything?

View 1 Replies


Similar Messages:

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

Forms Data Controls :: Chart - X Axis Doesn't Show All Names

Nov 17, 2010

I´ve got a chart control (column type) and must show many elements at y axis, but when system generates the chart draw, it´s shows only odd elements: For example: My chart must show a colunm containing systems (x) and error incidences (y):

1. SIEMP
2. SISOUT
3. SIGTI
4. SISFIN
5. SISPL
6. SISTER

But it´s only shows:

1. SIEMP
2.
3. SIGTI
4.
5. SISPL
6.

I must set a parameter that forces "all" series to be showed.

View 2 Replies

Chart Control Too Slow Or Doesn't Render

Jan 20, 2010

I have a web page rendering two pie charts using the ASP.NET 3.5 chart controls. On my dev server (IIS 5.1) the charts load well. On the QA server, the charts load pretty slowly and sometimes one or both of them doesn't even load. I am loading the charts using the codebehind tag. Is there anything else that could be done to make these charts run faster? Note: I was previously using dotNETCHARTING and never had any issues with it. Nothing else has changed except for the charting engine.

View 1 Replies

VS 2008 / Show The Data Either In Chart Control Or Gridview Control?

Feb 11, 2013

I have a simple .aspx page.

I want to show the data either in Chart control or Gridview control. When the user selects an option to see the data either in chart control or grid view control, that specific control has to show up and other control has to become invisible.

So far, I am able to populate data successfully in the chart control. If the user chooses "Grid view" option, how can I show the data in grid view control in the same location. I don't want the gridview control to be shown in a pop up window or any other window.

View 2 Replies

C# - MS Chart Control Scale - Line Graph Show 12 Months?

Jun 7, 2010

On my X Axis, I have months. The chart shows up to 11 points, i.e. Jan - Nov of the same year, but when I add 12 points (Jan - Dec), it will do an auto label thing and change the interval for every 4 months.

How can I change the graph so that it shows 12 months before it does the auto labels?

Here is the server control code I am currently using.

[code]....

View 1 Replies

Microsoft Chart Control (VS 2008) - Show Value When Cursor Is Moved

Jan 28, 2013

I have a simple chart control on my form. it displays data fine in X and Y axis. On X axis, i have time period (1 day,1 week, to 30 Years- total of 27 points on x axis) and Y axis has interest rate.

when the cursor is moved in the chart area, I want to show the exact value of Y axis. Just like yahoo finance shows when we click on a graph of a stock symbol. Say on my chart, when user hovers on say 2 Y on the graph, it should show the exact interest rate which is on the Y axis.

View 1 Replies

JQuery .Show() Doesn't Work With Server Control?

Nov 1, 2010

I have 2 html TR that i make them runat="server" & visible="false" and I have a dropdownlist called citiesDropDownList

$(document).ready(function() {
$('#<%=citiesDropDownList.ClientID %>').change(function() { ValidateCity(); });
});

and on change of this dropdownlist i check if the its text equal to a string i show the 2 tr as below

function ValidateCity() {
if ($('#<%= citiesDropDownList.ClientID %> :selected').text() == identity_CityOther) {
$('#<%= otherCityTR.ClientID %>').show();
$('#<%= areasTR.ClientID %>').show();
}
var city = $('#<%= citiesDropDownList.ClientID %>').val();
return IsValid((city.length != 0), '#<%= cityDiv.ClientID %>', identity_CityRequired);
}

.show() isn't work at all and i don't the reason .. can any lead me to get the problem?

FYI : I tried $('#<%= otherCityTR.ClientID %>').show('slow'); and also $('#<%= otherCityTR.ClientID %>').css('visibility', 'visible'); but it doesn't work also.

View 3 Replies

Doesn't Show Dynamic Submenus Of Menu Control

Feb 16, 2011

I have designed a menu control in master page. But its dynamic sub menus are hide behind the images whice is in content page called home.aspx. It shows the submenus at development phase but not at hosting time. Here is my code for a menu. Is there any problem in my code. One more thing is that when I open the website in mozilla it shows every submenus not in any version of internet explorer.

<asp:Menu ID="NavigationMenu" ItemWrap="false" StaticEnableDefaultPopOutImage = "false" Orientation="Horizontal" DisappearAfter="250" runat="server" DynamicHorizontalOffset="3" MaximumDynamicDisplayLevels="3" DynamicVerticalOffset="5" StaticDisplayLevels="1">
<Items>
<asp:MenuItem Text="Home" Value="Home" NavigateUrl="~/Home.aspx"/>
<asp:MenuItem Text="Company Overview" Value="Company Overview" NavigateUrl="~/AboutUs.aspx">
<asp:MenuItem Text="About Us" Value="About Us" NavigateUrl="~/AboutUs.aspx" />
<asp:MenuItem Text="Management" Value="Management" NavigateUrl="~/Management.aspx" />
</asp:MenuItem>
<asp:MenuItem Text="Testimonials" Value="Testimonials" NavigateUrl="~/Testimonials.aspx" />
<asp:MenuItem Text="Services" Value="Services" NavigateUrl="~/FrontOfficeService.aspx">
<asp:MenuItem Text="Front Office" Value="Front Office" NavigateUrl="~/FrontOfficeService.aspx">
<asp:MenuItem Text="Billing Office" Value="Billing Office" NavigateUrl="~/BillingOfficeService.aspx">
<asp:MenuItem Text="Paperless Office" Value="Paperless Office" NavigateUrl="~/PaperlessOfficeService.aspx">
</asp:MenuItem>
<asp:MenuItem Text="Contact Us" Value="Contact Us" NavigateUrl="~/ContactUs.aspx">
</Items>
<StaticMenuItemStyle ItemSpacing="5px" HorizontalPadding="5px" ForeColor="White" VerticalPadding="2px" Font-Bold="true" />
<DynamicMenuItemStyle HorizontalPadding="5px" ForeColor="White" BackColor="Navy" VerticalPadding="2px" />
<Dynamichoverstyle BackColor="LightBlue" Font-Bold="true" />
<DynamicSelectedStyle BackColor="Green" ForeColor="Gray" />
<StaticSelectedStyle BackColor="Green" ForeColor="Teal" />
</asp:Menu>

View 1 Replies

AJAX :: Modalpopup Control - Refresh The Page Modal Doesn't Show?

Nov 23, 2010

my problem is related with modalpopup control. i made a login control using it.

[Code]....

This works fine. Problem is this. When i click btniptal and then i refresh the page modal shows again. But When i click btngiris and then i refresh the page modal doesn't show. When clicking the btniptal button, the modalpopup should not show.If i make this codes in aspx page everything is ok. But i make this in usercontrol.

View 1 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 :: .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

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

Panel Error Doesn't Displaying / Code Doesn't Show Up In View/source?

Jul 23, 2010

I debugged my code and it sets the visible to true and it doesn't show up in view/source either. PnlError is the one not displaying...

[Code]....

View 8 Replies

C# - MS Chart Control Pie Chart: Remove Unwanted Padding

Jun 7, 2010

im trying to create simple pie chart using the MS Chart controls. When my pie chart gets rendered in the browser i get padding around the pie chart that i cant get rid of. i would like the pie chart to sit up against the edge of the image with no padding or margin. in my code below the padding is highlighted in blue. i.e Chart1.BackColor = System.Drawing.Color.Blue;

<script type="text/C#" runat="server">
protected void Page_Load(object sender, EventArgs e)
{
//Set the chart type
Chart1.Series["Series1"].ChartType = SeriesChartType.Pie;
//add points
Chart1.Series["Series1"].Points.AddY(12);
Chart1.Series["Series1"].Points.AddY(45);
Chart1.Series["Series1"].Points.AddY(67);
//set back color of chart object
Chart1.BackColor = System.Drawing.Color.Blue;
//set back color of chart area
Chart1.ChartAreas["ChartArea1"].BackColor = System.Drawing.Color.Green;
}
</script>
<asp:Chart ID="Chart1" runat="server">
<Series>
<asp:Series Name="Series1" ChartType="Pie">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1">
</asp:ChartArea>
</ChartAreas>
</asp:Chart>

View 1 Replies

C# - Multiple Chart Series In Chart Control?

Jan 5, 2011

I am a novice programmer using ms chart control for my dashboard, I have a problem displaying chart series.

Here is my sample query & result

Sample Query: "SELECT Brand, sales, Manufacturer From TABLE"

Sample Result:

[code]....

How can I display BrandA for XValueMember & Salesvalue(10000) for YValueMembers as Series1 having a column chart type.

And to display BrandY & BrandZ for XValueMember ; Salesvalue for YValueMembers as Series2 having a line chart type.

I want my chart to have 2 Y-axis; Series1 for primary Y-axis & series2 for secondary Y-axis.

My problem here is how can I display BrandA in Series1 and BrandY,BrandZ in Series2 where the values are in the same field?

Or is it possible to set more than one data source for the chart control?

I've been working on this for two days but I wasn't able to get the desired result.

View 1 Replies

Web Forms :: Dynamic Image Control Doesn't Show Image?

Jun 1, 2010

I'm no expert with Image controls, or dynamically adding anything, but I seem to have some problem when dynamically adding image controls

When the page loads the images are "there", but they don't actually show an image...just an image "box" I guess you could call it. It's not the "broken" image or "invalid" image display, but a friendlier one that doesn't make sense to me why it's there.

I look at the page's source and literally everything's fine, but I'm not sure what's going wrong. I can show you my code, and hopefully someone will point out the dumb thing I'm doing wrong:

[Code]....

[Code]....

So, it takes all the .JPG files in the folder "Pictures" of my project's folder and creates an Image control to be put into Panel1 with the ImageURL as its filename (with Directory Path) and even set the ID to its filename (so no duplicate IDs). Again, the source is exactly how it should be, but no image is shown.

View 7 Replies

Chart Control - Pie Chart - Text Around / Outside?

May 13, 2010

I am having a requirement, where I need to have a pie-chart, i need text around pie-chart , the text should be a hyperlink. Ex: we have 3 three fields A,B,C. A's ratio is 30%, B's ratio is 40%, c's ratio is 30% So pie chart gets divided into 3 parts, outside the graph , we should get the label A(in A's area only), when we point on , tool tip should say "A's ratio is 30 %'. I am working in .Net 3.5, VS 2008, using MS chart control(added explicitly by executing MSChart.exe.

View 1 Replies

Show Sales In Various Categories In A Chart?

May 14, 2010

The problem is that we have 5 different categories and we have to calculate the percentage of products sold in each category. Then we have to show that in sort of a chart. The interface of chart is shown here

http://img64.imageshack.us/img64/5397/52805880.gif although this chart has 14 boxes but I will be using 20 boxes in the final chart, the reason for that is that I want each box to represent 5% of sales. Now the question is suppose that the percentage for sales in each category is 34.4%, 12.6%, 23.2%, 22.6% and 7.2%. How do I convert these values to nearest 5 and then fill each box with that color. For example 34.4% means that almost 35% or 7 boxes will be colored with that color. The problem is that the sum of all of these must always be 20. I understand that this will not be very precise representation but this is the demand from the user.

View 4 Replies

Web Forms :: How To Show Round Off Values In Chart

Oct 15, 2012

I have a column in gridview which displays float values. But while the same value in chart I need to round off to nearest whole number and display it in chart.

i.e if it is 12.6745 then it should be 13  

<asp:Series IsValueShownAsLabel="True" Legend="Legend1" Name="(%)"
XValueMember="Test" YValueMembers="PERCENT">
</asp:Series

View 1 Replies

Forms Data Controls :: Show Chart With Datatable?

Jan 19, 2011

I m having a problem in showing chart with datatable. I want to show my chart as shown in below image. How can i do this in ASP.net using MS chart controls

View 3 Replies







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