I would like to show the datatable to the user, by default it is positioned under the x axel.
Is there a way for me to position the table somewhere else?
If so, can I set different styles on the text depending on the value?
HI,
I have used rad chart control in ascx control of sitefinity application.
For that i have added below code to the ascx control
<telerik:RadChart ID="RadChart2" runat="server">
<Series>
<telerik:ChartSeries>
<Items>
<telerik:ChartSeriesItem YValue="10" />
<telerik:ChartSeriesItem YValue="15" />
</Items>
</telerik:ChartSeries>
</Series>
</telerik:RadChart>
and added below tags to the web.config file.
Below are added to the controls of pages tag.
<add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
<add tagPrefix="telerik" namespace="Telerik.Charting" assembly="Telerik.Web.UI"/>
And the below tag has been added to httpHandlers section of system.web.
<add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" validate="false"/>
And another tag has been added to handlers section of system.webserver
<add name="ChartImage_axd" verb="*" preCondition="integratedMode" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/>
But I am getting the following exception when accessing the corresponding page.
“Error loading RadChart image.You may also wish to check the ASP.NET Trace for further details.Display stack trace?”
I am using iis 7.5.Please suggest me how to solve this issue.
Thanks
Kiran G.
“ and ”, since curly quotes can cause so many problems. 
protected void makechart() { RadChart invChart = new RadChart(); invChart.ChartTitle.Visible = false; // Create a ChartSeries and assign its name and chart type ChartSeries chartSeries = new ChartSeries(); chartSeries.Name = "TotalValue"; chartSeries.Type = ChartSeriesType.Pie; // Display Item Labels in the Legend chartSeries.Appearance.LegendDisplayMode = ChartSeriesLegendDisplayMode.ItemLabels; // Open SQL Connection SqlConnection connection = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString); connection.Open(); SqlCommand command = new SqlCommand("GetInventoryValue", connection); command.CommandType = CommandType.StoredProcedure; SqlDataReader reader = command.ExecuteReader(); while (reader.Read()) { // Set value and value text chartSeries.AddItem((Double)(reader.GetValue(0)), reader.GetValue(0).ToString()); } // Close SQL Connection connection.Close(); // add the series to the RadChart Series collection invChart.Series.Add(chartSeries); // add the RadChart to the page. this.invChart.Controls.Add(invChart); } }function onGridCreated(sender, args) { alert("onGridCreated"); var masterTable = sender.get_masterTableView(); //alert(masterTable.get_dataItems().length); var i = 0; var rows = masterTable.get_dataItems(); for (var i = 0; i < rows.length; i++) { for (var j = 0; j < i.rows; j++) { var btnIsDualListedYes = args.get_item().findControl("btnIsDualListedYes"); var btnIsDualListedNo = args.get_item().findControl("btnIsDualListedNo"); if (btnIsDualListedYes != null && btnIsDualListedNo != null) { var intrumentMasterID = btnIsDualListedYes.get_groupName(); if (dualListedSelection[id]) { alert("Dual Listed " + id + " True"); btnIsDualListedYes.set_checked(true); btnIsDualListedNo.set_checked(false); } else { alert("Dual Listed " + id + " False"); btnIsDualListedYes.set_checked(false); btnIsDualListedNo.set_checked(true); } } else { alert("btnIsDualListedYes and btnIsDualListedNo is NULL"); }// } }| <rad:RadFormDecorator ID="RadFormDecorator1" runat="server" DecorationZoneID="BodyContents" DecoratedControls="Buttons, CheckBoxes, RadioButtons" /> |
| <rad:RadComboBox ID="rcbTradeStatus" runat="server" DataValueField="pkTradeStatus" DataTextField="sStatusDesc" Width="300px" HighlightTemplatedItems="true" AllowCustomText="true"> |
| <ItemTemplate> |
| <asp:CheckBox ID="cbTradeStatus" runat="server" TextAlign="Right" Text='<%# Eval("sStatusDesc") %>' /> |
| </ItemTemplate> |
| </rad:RadComboBox> |