We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Using chart and range navigator

I am trying to create a page that uses a few Sync Fusion widgets.  When I try to include both the chart and the range navigator on the same page I get an error stating that the chart is trying to register twice. 

My includes are:
    <script src="../Scripts/jquery-1.11.0.js"></script>
    <script src="../Scripts/jquery-ui-1.10.4.js"></script>
    <script src="../Scripts/jquery.easing.1.3.js"></script>
    <script src="../Scripts/globalize/globalize.js"></script>

    <script src="../Scripts/SyncFusion/Version12_4/ej.core.min.js"></script>
    <script src="../Scripts/SyncFusion/Version12_4/ej.data.min.js"></script>
    <script src="../Scripts/SyncFusion/Version12_4/ej.chart.min.js"></script>
    <script src="../Scripts/SyncFusion/Version12_4/ej.rangenavigator.min.js"></script>
    <script src="../Scripts/SyncFusion/Version12_4/ej.menu.min.js"></script>

This didn't happen in previous versions of the controls. 

What am I doing wrong?

5 Replies

JA Jayavigneshwaran Syncfusion Team January 21, 2015 07:33 AM UTC

Hi Josh,

Thanks for using Syncfusion product.

We have analyzed this. We replicated the scenario in our sample, but we are not able to reproduce the issue reported.

Please find the sample from the below location
range.zip

We have referred the below files as mentioned in query.

[HTML]

<script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>

<script src="http://ajax.aspnetcdn.com/ajax/globalize/0.1.1/globalize.min.js"></script>

<script src="ej.core.min.js"> </script>

<script src="ej.data.min.js"> </script>

<script src="ej.chart.all.min.js"> </script>

<script src="ej.rangenavigator.all.min.js"> </script>

We suggest you to refer ej.rangenavigator.all.min.js file alone. Since it has the source code to render chart, no need to mention ej.chart.all.min.js file separately.

If you still face any concern, kindly revert back us by modifying the attached sample with replication scenario.

Please let us know if you have any concern.

Thanks,

Jayavigneshwaran




JB Josh Bowen January 21, 2015 01:39 PM UTC

Thank you for your reply.  I was using ej.rangenavigator.min.js while your example includes ej.rangenavigator.all.min.js.  I did not see the ej.rangenavigator.all.min.js file in the SyncFusion 12.4.0.24 download.  Where can I find that file?

Thanks


JA Jayavigneshwaran Syncfusion Team January 22, 2015 05:12 AM UTC

Hi Josh,

Sorry for the inconvenience caused.

We have analyzed this. The file which you referred (ej.rangenavigator.min.js) and we referred (ej.rangenavigator.all.min.js) in the previously provided sample are same.

Since we have renamed the file for our convenience.

Please let us know if you have any concern.

Thanks,

Jayavigneshwaran




JB Josh Bowen January 23, 2015 04:36 PM UTC

Please see the attached example file.  I am definitely seeing the behavior in this example.  When I take out the reference to ej.chart the program does not render the chart. 

Attachment: LibraryError_708ab608.zip


JA Jayavigneshwaran Syncfusion Team January 26, 2015 10:24 AM UTC

Hi Josh,

We have created a new incident – 134445 for this. Kindly follow up the specified incident for the response.

Please let us know if you have any concern.

Thanks,

Jayavigneshwaran

Loader.
Live Chat Icon For mobile
Up arrow icon