Multiple MS Charts On The Same Page Use The Same Image Map?
Feb 7, 2011
I'm using the Microsoft Chart control to put a couple of charts on a web page. If you render 2 charts, the resulting HTML is something like this (the table is mine, the img and map are from the MS Chart):
<table id="chart">
<tr>
<td id="rolling">
<img src="/ChartImg.axd?i=chart_45ec7063132a47d9bf08ce377f4d6030_0.png&g=d82064ecb0cf459dbda23039ae0c3f70" alt="" usemap="#ImageMap" style="height:200px;width:250px;border-width:0px;" />
<map name="ImageMap" id="ImageMap">
<area shape="rect" coords="190,112,242,132" title="$321.01" alt="" />
<area shape="rect" coords="59,69,111,132" title="$1,017.92" alt="" />
<area shape="rect" coords="138,104,190,132" title="$449.04" alt="" />
<area shape="rect" coords="7,25,59,132" title="$1,714.59" alt="" />
</map>
</td>
<td id="highrisk">
<img src="/ChartImg.axd?i=chart_45ec7063132a47d9bf08ce377f4d6030_1.png&g=6f876c9016cd4b72b5ba60609b9d05ec" alt="" usemap="#ImageMap" style="height:200px;width:250px;border-width:0px;" />
<map name="ImageMap" id="ImageMap">
<area shape="rect" coords="190,128,242,132" title="41" alt="" />
<area shape="rect" coords="59,131,111,132" title="6" alt="" />
<area shape="rect" coords="138,25,190,132" title="922" alt="" />
<area shape="rect" coords="7,121,59,132" title="100" alt="" />
</map>
</td>
</tr>
</table>
Note that both charts use the same name for the image map for each chart - "ImageMap" - and it uses the coords from the first chart on the subsequent charts, even though it puts different titles on each element.
Am I doing something wrong in trying to render 2 charts on 1 page? Is there a workaround for this?
View 1 Replies
Similar Messages:
May 7, 2015
This is my aspx code :
<center>
<cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</cc1:ToolkitScriptManager>
<cc1:LineChart ID="LineChart1" runat="server" ChartHeight="300" ChartWidth="450"
ChartType="Basic" ChartTitleColor="#0E426C" Visible="false" CategoryAxisLineColor="#D08AD9"
[code]...
but when I added the bar graph, the first chart appears but does not show the lines and the second graph is not displayed at all ... Is it possible to put 2 chart like that ?
View 1 Replies
Jan 30, 2013
How do i export multiple charts to pdf using iText library?
View 1 Replies
Mar 11, 2010
i am using .net framework 3.5 and visual studio 2008, i want to develope an application
for graphs and charts, so charting control 3.5 i am using.
i want to add multiple series of charts on a same chart which are at different location.How can i do it?
View 1 Replies
Feb 10, 2011
I am curious how to display many charts in one aspx file or cshtml or html file. like I use one aspx file to make one chart. and then i have lots of such aspx files which give me many charts. how can I combine them in one page?
View 4 Replies
Mar 28, 2011
I have a view ..
[code]....
in "GetChartData" method which is in controller.. I set data in sessions.. for example..
[code].....
then when I load page.. I get all the same chart for each row. i think may be the last chart is overlapping all the previous charts.
View 1 Replies
Dec 1, 2010
I have 20 Charts in 20 Crystal Reports and I want to show them all in a web page in ASP.net 2.0. If I take a crystal report viewer ,it shows only 1 chart in that viewer. I want to show them all .Is it possible.
View 1 Replies
Feb 20, 2013
need to upload multiple images together and each image should have different heading using (textbox), and should have validations too.
View 1 Replies
Oct 21, 2015
I have used multiple grid view on same page with multiple selectedindexchanged event but selected indexchanged event call only for first gridview.
View 1 Replies
May 2, 2010
I have an update panel in a user control and I am adding multiple instances of it for example 5.
When that update panel refreshes the page load occurs 5 times.
How can I prevent it only for once?
View 3 Replies
Aug 4, 2010
I have an application that needs to render a page that will have multiple Radio Button Groups as well as multiple CheckBoxes. The desired layout is determined by a database table.
table structure:
PackageID uniqueidentifier
PackageName string
ItemName string
RadioGroupName string
ViewControlName string
This table defines a "Package". The "Package" can contain many different "Items" that require different controls used in the View. The "RadioGroupName" field is used to mark which RadioButtons should be grouped together. The "ViewControl" field marks which control should be used on the View to display the field. The query in my repository will return a result set such as
1 / "First Package" / "Item1" / "First Group" / "RadioButton"
2 / "First Package" / "Item2" / "First Group" / "RadioButton"
3 / "First Package" / "Item3" / "First Group" / "RadioButton"
4 / "First Package" / "Item4" / null / "CheckBox"
5 / "First Package" / "Item5" / null / "CheckBox"
6 / "First Package" / "Item6" / "Second Group" / "RadioButton"
7 / "First Package" / "Item7" / "Second Group" / "RadioButton"
8 / "First Package" / "Item8" / "Second Group" / "RadioButton"
Given this result set, I need to render the view as follows:
A RadioButton group with 3 options (Item1, Item2, Item3)
A CheckBox (Item4)
A CheckBox (Item5)
A RadioButton group with 3 options (Item6, Item7, Item8)
I have read that it is possible to use "if" conditions and looping structures inside the View. I have also read that this is a bad practice. Another issue I see is knowing which Item has been selected from each RadioButton group when I hit the Controller POST function. Previously I have built a page that has a single RadioButton group. My ViewModel was as follows:
[Code].........................
View 1 Replies
May 10, 2010
I have created a Web Control in ASP for use in integrating with Telligent CommunityServer. The control is written in ASP with some 10 lines of C# backend for controlling visibility of the UI elements based on permissions, but I'd say 90% of the functionality is straight-up Javascript. The control works beautifully, until you drop two instances of the Control on the same page--since they reference the exact same Javascript functions, only one control works. How can I take this functionality that I have, this 1200 lines of Javascript, and make it so that each instance of the control can reference its each unique instance of Javascript?
View 2 Replies
Jan 20, 2011
I'm planning to make a page that has about 10 different pages for varying use, for example, stats, data entry, reports, logistics, audit, sales, promo, etc etc. I'm anticipating there will be many combinations as to what pages a user may have access to, for each page, a user ought to be authorized to either enter new data, edit data, print and/or just view.
My questions are :
1. can membership & roles be used, once user is logged in, to display links to all the areas of the web app he is allowed access to?
[code]....
2. besides having access to a particular page, a user should, as mentioned before, be authorized to either enter new, edit, print and/or just view data.
3. Is there a preferred/better method to handle this besides using membership & roles?
View 3 Replies
Jan 30, 2010
i want to upload image through folder looping.
code is for that
DirectoryInfo di =new DirectoryInfo ("G:/FICCI/FicciNew/FicciNew/images/Images/AlbumImage");
View 3 Replies
Mar 26, 2010
i have notice that when i try to view the Image used in the Home Page of this site, specifically to the "ASP.NET: Power, Productivity and Speed" Menu part, it has many Images in one file.
Usually when i make such design i have a single Image in a Single file. so how does you people do such re-using of multiple images in one file?
View 1 Replies
Aug 23, 2010
I need to make multiple button in a single image in asp.net.and need coding also for vb.net.
View 4 Replies
Aug 31, 2010
I am looking for a solution (APIs, etc.) for handling a similar experience as cafepress.com. I need to be able to upload images (preferably multiple at a time) and be able to map my uploaded images to various product images (clean stock images of shirts, mugs, etc.). I also want to give the user some very basic controls over the images they upload such as cropping, resizing, levels, etc. I am looking for .NET solutions (if server-side).
View 2 Replies
Nov 27, 2010
I have an unknown number of image buttons inserted into a Placeholder at runtime during a webpage's Init stage. I would like to use a single event handler routine in C# language to determine which control was clicked and process any one of them differently. How do you create an event handler to process whichever image button that is clicked?
View 2 Replies
Mar 9, 2011
I wish my user to have option of selecting multle image at once and upload them to site form there hard drive, somehing like on copy paste, and not to have 5 upload buttons and to look for each photo separatly.
I have thi esolved in zip file where user can zip in let say 453 photo and upload them to internet in single file where they are automaticli unziped but it would be much better to have option of selecting numerus photo i windows explorer and upload thm with single click
View 7 Replies
Feb 28, 2011
I got this simple jquery plugin to upload files.
i can add multiple files, but i cant seem to write a code that saves all the files, only one..
var _thumb = string.Empty;
if (!string.IsNullOrEmpty(fuUploadThumps.FileName))
{
_thumb = fuUploadThumps.FileName;
fuUploadThumps.SaveAs(Request.PhysicalApplicationPath + @"img/produkter" + _imagePath["categoryImagePath"] + "resized/thumbs/" + StripInput(_thumb));
}
More code
_objAdmin.Name = StripInput(_thumb);
_objAdmin.Connection = Session["imageConnection"].ToString();
_objAdmin.AddThumbs(_objAdmin);
View 2 Replies
Jan 9, 2010
I need to export a few (could be just one or more than one) Microsoft Charts to a PDF and Excel. It needs to happen on a button click and the charts should be directly exported to a PDF without getting rendered onto a web page.
Environment used: ASP.NET
View 1 Replies
Aug 26, 2010
Question: Anybody has experience with ZedGraph / MS-Chart controls ?
I am thinking about which to use ?
Basically, I have a tendency to ZedGraph, because I need .NET framework 2.0 while MS-Chart is 3.5 (and I don't know how well a 3.5 assembly works on 2.0) and because I could use it privately, too (I use Linux privately).
But I don't know if MS-Charts offers more. Does ZedGraph for example offer reasonable quality 3d piecharts ?
And reasonable color design, like gradient colors ? And if it does, is it as simple (or nearly as simple) as MS-Chart controls ? And does ZedGraph offer databinding, e.g. a datatable from a database ?
View 3 Replies
Jan 29, 2010
Is it possible to put flex charts in a asp.net application?
Any other easy to use chart controls, but fancy looking ?
View 2 Replies
Apr 21, 2014
how to display survey questions Chart?
View 1 Replies
May 7, 2015
Zoom option in azax line chart control.
View 1 Replies