Forum Replies Created by Shashi Ranjan

Viewing 15 posts - 271 through 285 (of 507 total)
  • in reply to: Problem with my Charts #27037

    @billtzi,

    Can you kindly share a sample project along with sample data over Google-Drive or Onedrive so that we can look at your code, understand the scenario better and help you out?


    Shashi Ranjan
    Team CanvasJS

    in reply to: Show legend text in a specific order #27009

    @smithfx,

    Legends are displayed in the same order in which dataSeries are passed to the chart options. Passing dataSeries to the chart options in the same order as you want in legends should work fine in this case.

    If you are still facing the issue in achieving your requirements kindly share JSFiddle with sample data so that we can look into the code, understand the scenario better and help you out.


    Shashi Ranjan
    Team CanvasJS

    in reply to: Areachart with using secondary X axis #26994

    @key216128,

    Thanks reporting the issue along with JSFiddle that reproduces the same. We will look into it and fix it in future releases.


    Shashi Ranjan
    Team CanvasJS

    in reply to: Add padding between axis label and title #26979

    @jobnimbus,

    Sorry, this feature is not available as of now. However, you can work around this by using multiple axisX as shown in this JSFiddle.


    Shashi Ranjan
    Team CanvasJS

    in reply to: how to set chart width dynammically? #26947

    @pfan28,

    Can you kindly create a JSFiddle reproducing the issue you are facing and share it with us so that we can look into the code, understand the scenario better and help you out?

    From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue or not able to understand the exact requirements or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.

    Having a JSFiddle helps us in figuring out the issue and many a time we can just edit your code on JSFiddle to fix the issue right away.


    Shashi Ranjan
    Team CanvasJS

    in reply to: Stepline Graph #26930

    @utsavgupta,

    Can you kindly share a pictorial representation and brief us more about your requirement so that we can understand your requirement better and help you out?


    Shashi Ranjan
    Team CanvasJS

    in reply to: xValue #26922

    @jasonpdavid,

    It’s not possible to get the value of intersection between the stripLine and the dataSeries line as of now.


    Shashi Ranjan
    Team CanvasJS

    in reply to: Areachart with using secondary X axis #26904

    @key216128,

    Can you kindly create a JSFiddle reproducing the issue you are facing and share it with us so that we can look into the code, understand the scenario better and help you out?


    Shashi Ranjan
    Team CanvasJS

    in reply to: xValue #26903

    @jasonpdavid,

    In the code sample shared above relY gives the pixel coordinates of the chart with respect to axisY. Instead, you can use relX to get the pixel co-ordinate with respect to axisX and use convertPixelToValue to convert it to corresponding value co-ordinate and update the stripLine’s label accordingly as shown in this updated JSFiddle.

    If you are still facing the issue, kindly create JSFiddle reproducing the issue you are facing so that we can look into the code, understand the scenario better and help you resolve the same?

    From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue or not able to understand the exact requirements or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.

    Having a JSFiddle helps us in figuring out the issue and many a time we can just edit your code on JSFiddle to fix the issue right away.


    Shashi Ranjan
    Team CanvasJS

    in reply to: canvasjs.min.js:18 – Non-passive event listener #26875

    [Update]

    @trifectait
    & @mybudfrogs,

    Thanks for reporting the warning being thrown in chromium-based browsers. We have released Chart v3.1 Beta 1 with this bug fix, please check out release blog for more information. Kindly download the latest version from our download page and let us know your feedback.


    Shashi Ranjan
    Team CanvasJS

    in reply to: Chart layered over following div #26841

    @hecatonchireslm,

    Setting height of the chart-container <div id="chartContainer" style="height: 360px"></div> should work fine in your case.

    If you are still facing the issue, kindly share a sample project along with the sample data reproducing the issue over Google Drive / OneDrive so that we can look into code, understand the scenario better and help you out.


    Shashi Ranjan
    Team CanvasJS

    in reply to: canvasjs.min.js:18 – Non-passive event listener #26840

    @mybudfrogs,

    Can you kindly create JSFiddle reproducing the issue you are facing so that we can look into the code, understand the scenario better and help you resolve the same?

    In order to help us in understanding the issue, please have a reproducible demo of your chart. This one step can assure you a speedy response. Fork out our template JSFiddle and reproduce the chart at your end. Try to keep it to the bare minimum by removing unnecessary code.

    From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue or not able to understand the exact requirements or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.

    Having a JSFiddle helps us in figuring out the issue and many a time we can just edit your code on JSFiddle to fix the issue right away.


    Shashi Ranjan
    Team CanvasJS

    in reply to: Uncaught TypeError at array[1].push #26839

    @krishnansa01,

    Can you kindly create JSFiddle reproducing the issue you are facing so that we can look into the code, understand the scenario better and help you resolve the same?

    In order to help us in understanding the issue, please have a reproducible demo of your chart. This one step can assure you a speedy response. Fork out our template JSFiddle and reproduce the chart at your end. Try to keep it to the bare minimum by removing unnecessary code.

    From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue or not able to understand the exact requirements or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.

    Having a JSFiddle helps us in figuring out the issue and many a time we can just edit your code on JSFiddle to fix the issue right away.


    Shashi Ranjan
    Team CanvasJS

    in reply to: Fetch data from Codeigniter #26832

    @zeffry,

    You can try parsing the data from newdataPoints array into a new array in CanvasJS acceptable format. As shown in the below code snippet.

    var dps = [];
    for(var i = 0; i < newdataPoints.length; i++) {
    dps.push({ label: newdataPoints[i].nama_kategori, y: newdataPoints[i].jumlah_berita });
    } 

    Further, using the dps array to define the chart option dataPoints like dataPoints: dps should work fine in your case.


    Shashi Ranjan
    Team CanvasJS

    in reply to: Line chart graph shown the extra horizontal line #26831

    @ajay1234,

    It seems you are passing the time in 12 hours format. To plot the chart in an orderly manner you can try passing the dataPoints in 24 hours format. For example using the hour component value like 13, 14 for 1 PM, 2 PM and so on should work fine in your case.


    Shashi Ranjan
    Team CanvasJS

Viewing 15 posts - 271 through 285 (of 507 total)