Skip to content

Settings and activity

1 result found

  1. 5 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    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.

    An error occurred while saving the comment
    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=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>