This topic contains 7 replies, has 3 voices, and was last updated by Sean Sean 3 years, 6 months ago.

Adding charts in Angular version


  • guytrance
    Participant

    Posts: 8
    Member Reply #1429

    Hi.

     

    Im trying to insert the Stock chart to my dashboard in angular version but i keep getting an endless error count in the inspector. unless i am missing something..is this the way to properly insert a chart that’s exists in the HTML version?:

    <!-- BEGIN ROW -->

    <div class="row">

    <div class="col-md-12">

    <!-- BEGIN CHART PORTLET-->

    <div class="portlet light">

    <div class="portlet-title">

    <div class="caption">

    <i class="icon-bar-chart font-green-haze"></i>

    <span class="caption-subject bold uppercase font-green-haze"> Stock Charts</span>

    <span class="caption-helper">with stock events</span>

    </div>

    <div class="tools">

    </div>

    </div>

    <div class="portlet-body">

    <div id="chart_12" class="chart" style="height: 500px;">

    </div>

    </div>

    </div>

    <!-- END CHART PORTLET-->

    </div>

    </div>

    <!-- END ROW -->

     

    Here’s  the live example

    What’s wrong and how do i do it properly ?


    guytrance
    Participant

    Posts: 8
    Member Reply #1440

    Someone?


    Anonymous
    Support Staff Reply #1452

    Hi,

    Sorry for the late reply. Can you please provide your code or give us a test link to your page? Thus we could provide more effective support.

    Thanks 🙂


    guytrance
    Participant

    Posts: 8
    Member Reply #1462
    This reply has been marked as private.

    guytrance
    Participant

    Posts: 8
    Member Reply #1463
    This reply has been marked as private.
    Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #1481

    Hi,

    Sorry for the late reply. I tried to login to your site but it gives an error. Please advise.

    Thanks.


    guytrance
    Participant

    Posts: 8
    Member Reply #1498
    This reply has been marked as private.
    Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #1530

    Hi,

    We checked your site and it seem you are using charts-amcharts.js where it refers to chart_1, chart_2, chart_3, chart_4 chart container DIVs.If you removed any chart container DIV from the HTML code you should disable the JS function that refers to removed DIVs. Please double check your code.

    Thanks.

You must be logged in to reply to this topic.