I am stuck in preparing some chart control in the format we required. I have added the asp chart control in to my asp.net application, Where the X and Y values in the chart are displaying correctly, when i pass some values. Right now I want to display the legends along with the unit values in the chart. The following figure is my required format
I have searched every where in the net and also tried a lot, but still I dint find the way how can i display the chart like that. For an alternative I added one grid control at the bottom of chart, but its not appearing as my requirement. It is coming differently like below.
So, can any one give me an advice of how can i achieve my goal of displaying the chart like in my required format.
Thank you for not responding to my question, so any how I have done it my self by using datalist at the bottom of the chart control. I added one datalist control to the table in which chart control is present and binded the required data table to the datalist and also binded images to the datalist control at runtime from a datatable. Inorder to display the data present in datalist, i used RepearDirection property of the datalist and set it to "Horizontal". Finally my report displayed like my required format. And for the chart area, i added two types of series for the same X and Y points inorder to display Line chart as I required, one series is bubble and another is line.
So, finally my graph displayed as below.
Related
I am trying dynamically create a combo box based on a selection that is made, and will dynamically create another combo box below it in ASP. NET.
Selection is made then another combo box gets created below and gets filled with another set of data and etc...
Sorry for the confusion, I wanted to dynamically create a combo box and recreate combo boxes dynamically again. I could not explain exactly what I was trying to do but I found some samples that got me to the direction that I was trying to achieve based on link below.
https://www.aspsnippets.com/Articles/Creating-Dynamic-DropDownList-Controls-in-ASP.Net.aspx
We are using telerik charting demo version.
we want to know if we can drill down from telerik pie chart to telerik stacked bar chart or not.
We don't want drill down to a specific portion of the pie. But we have scenarios where we have 5 portions of data for a group in pie chart. When we click on the pie chart, it will drill us down to each group members' stacked bar where each bar has same 5 portion of data belonging to them.
Is it possible with telerik charts ?
I am using asp.net web application.
Need a suggestion: which are good chart controls ? I searched lot on the internet and am confused. I want controls which don't have limitations. I don't want to not be able to drill down on pie or something like that.
Help is appreciated.
thanks,
Drilldown is achieved by initiating a (partial) postback so you can modify the control on the server: http://demos.telerik.com/aspnet-ajax/htmlchart/examples/drilldownchart/defaultcs.aspx.
Instead of changing field names, you can simply hide the current chart and show another one with the desired properties and series.
I used PHPExcel to generate report based on chart, and i done it. But i have some problem in writing of text over the chart area when i set the value by using column name, the text go behind the chart, and also i cant change the position of data source inside excel file.
For any help thanks.
I am working on line chart in flex. I have to show the tooltip data on the datapoint itself. Normally the data point value is displayed on a rectangular area when we mouse over on the data-point. But I have a checkbox just below the chart. When I check on it, all the datapoints of the graph should display the value on data-point on the graph. Any idea how to do that?
In your mx:LineChart control set the showAllDataTips value to true/false according to your checkbox.
After doing a few research I found the answer. My goal was to draw something on the datapoint itself. I found this link useful Drawing on chart controls EDIT : new link
Going through this link helped me a lot.
I have a single series bar chart created programmatically in codebehind which I would like to display the Y point value (somewhere above the bar, or maybe as a tooltip) when the user hovers their mouse over a bar.
Is there a native onmouseover event for the bars of the chart, or is it something that should be added through series.MapAreaAttributes?
Thanks!
Edit
After some experimenting I've found the points.tooltip attribute which I can add at the same time I add the point which will do what I want it to do, but it would still be nice to know if you can capture events for the bars, just for future reference.
From Show all series' values in stacked bars mouseover (ASP.NET CHART)
series.MapAreaAttributes = "onmouseover=""showTooltip('#VALY');"""
Where your showTooltip function would do as you required.