Home forums Using CanvasJS Creating Charts from CSV Please help

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 1 month, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12730

    Girish
    Member

    Creating Charts from CSV followed the link

    Creating Charts from CSV

    Steps 1. Open Notepad and created a data.csv file in f:\ with the following data
    5,9
    6,9
    7,14
    8,12
    9,14
    10,18
    11,13
    12,8
    13,11
    14,13
    2. Try it Yourself by Editing the Code below.
    Copied the code and created in f:\ CanvasJSCsv.html
    3. Open the file using Google Crome browser as file:///F:/CanvasJSCsv.html
    4. No result Press Ctrl+Shift+I
    5. Found the following Error
    CanvasJSCsv.html:1 XMLHttpRequest cannot load http://canvasjs.com/services/data/datapoints.php?xstart=5&ystart=10&length=10&type=csv. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access.

    #12740

    Vishwas R
    Keymaster

    @girish,

    For security reasons, browsers restrict cross-origin requests. Please refer stackOverflow for more information.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.