I suggest you ...

Support for server-side (.NET) creation of Highcharts

4 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Jesper shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    2 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Atif Munir commented  ·   ·  Flag as inappropriate

        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  ·   ·  Flag as inappropriate

        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=WFFirstChart3

        The 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>

      Feedback and Knowledge Base