Support for server-side (.NET) creation of Highcharts
-
bigbear commented
Great rhythm and challenging gameplay! Even though it's simple, https://friday-nightfunkin.io Friday Night Funkin' is really addictive and makes me want to play more.
-
Atif Munir commented
string result = Highsoft.GetHighcharts(this.HighChart, "chart").ToHtmlString();
//Response.Write(result);
this.litHighChartIncident.Text = result;where litHighChartIncident is as <Asp:Literal ID= "litHighChartIncident " runat="server />
The result is that I can see the graph on chrome but IE gives error 27.
Still the multiple charts are not visible on the same webpage. -
Atif Munir commented
I am trying to use the HiChart on my ASP.NET web form using the samplecode given on
http://dotnet.highcharts.com/dev/Highcharts/Demo/Docs?section=WFFirstChart3The problem I am facing is that the chart shows up but it shows up on the upper section of the page and does not get confined within the section I am trying to put it in. The header of my page generated in master file gets moved down.
My aspx page looks like:
<%@ Page Language="C#" MasterPageFile="~/MasterPages/MyWork.master" AutoEventWireup="false" CodeBehind="PerformanceIndicators.aspx.cs" Inherits="ABC.XYZ.MyWork.PerformanceIndicators" %>
<%@ MasterType VirtualPath="~/MasterPages/MyWork.master" %><%@ Register tagprefix="hichart" tagname="HighChartIncidents" src="~/Private/Incidents/Controls/HighChartIncidents.ascx" %>
<asp:Content ContentPlaceHolderID="cph" Runat="Server">
<asp:TextBox runat="server" Text="hasdgkhasgdhgsahd"></asp:TextBox>
<script type="text/javascript" src="http://code.highcharts.com/highcharts.js"></script>
<script type="text/javascript" src="https://code.highcharts.com/modules/exporting.js"></script><asp:Panel ID="pnlCharts" runat="server">
<div class="form-group">
<div class="rows">
<div class="col-sm-1"></div>
<div class=col-sm-5>
<hichart:HighChartIncidents ID="hichartIncidents" runat="server"/>
</div>
<div class="col-sm-1"></div>
<div class="col-sm-5"><hichart:HighChartIncidents ID="HighChartIncidents1" runat="server"/></div>
<div class="col-sm-1"></div>
</div>
</div>
</asp:Panel>
</asp:Content>