Forum Replies Created by Manoj Mohan

Viewing 15 posts - 16 through 30 (of 795 total)
  • in reply to: denied access #45212

    @kenscriven,

    It seems like you are loading CanvasJS jQuery plugin instead of jQuery. You can either load jquery from its cdn or from your server by downloading it from this link.

    If you are still facing the issue, kindly create sample project reproducing the issue and share it with us over Google-Drive or Onedrive along with sample data so that we can look into your code, run it locally at our end to understand the scenario better and help you out.

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: back button not displayed #45211

    @kenscriven,

    It seems like you are loading CanvasJS jQuery plugin instead of jQuery. You can either load jquery from its cdn or from your server by downloading it from this link.

    If you are still facing the issue, kindly create sample project reproducing the issue and share it with us over Google-Drive or Onedrive along with sample data so that we can look into your code, run it locally at our end to understand the scenario better and help you out.

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Zooming Inconsistency Issue #45185

    Marco,

    The behavior is designed such that zooming is limited upto a certain region, so the user doesn’t end up zooming into a blank-region (region with no dataPoints). To zoom into a certain region, there should be a minimum of 3-4 dataPoints.

    We will reconsider this behavior for future releases.

    ___________
    Manoj Mohan
    Team CanvasJS

    @edad_msft,

    As aria-label was set for overlaid canvas instead of the canvas in which charts are drawn, Narrator was announcing it as “Image”. You can add aria-label to canvas and hide the overlaid canvas from the narrator by setting aria-hidden to true as shown in this updated JSFiddle.

    —-
    Manoj Mohan
    Team CanvasJS

    @aunni,

    As of now, the tooltip is shown based on nearest x-values irrespective of y-values. In order to show tooltip based on y-values in a vertical line chart, you can create line chart and rotate it as shown in this JSFiddle.

    Vertical line chart with tooltip based on y-axis by rotating line chart

    —-
    Manoj Mohan
    Team CanvasJS

    @mm,

    Thanks for reporting the use-case. It seems like there is an issue with axis labeling when scalebreak is used along with labelAngle and we will fix it in the future releases. Meanwhile, setting labelMaxWidth seems to fix the issue in this scenario. Please take a look at this updated JSFiddle in which labelMaxWidth is set to 100.

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Log-log chart axis label format as 10 to exponent #45131

    @joshuasosa,

    Glad the you were able to figure it out based on your scenario :)

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Why dates off by one with tooltips in stock charts? #45089

    Greg,

    We tried creating chart with the sample JSON used by you and it seems to be working fine. Please take a look at the screenshot below where date in tooltip is shown as per the JSON data i.e. for 1st Jan 2019, closing value as 130.53.

    StockChart with Date-Time Data showing tooltip

    Also, check out this updated JSFiddle for the same.

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Why dates off by one with tooltips in stock charts? #45077

    @greg-aharonian,

    JavaScript dates may display an incorrect day when passed in ISO format (YYYY-MM-DD), depending on the user’s time zone. According to MDN, date-only formats are interpreted as UTC time, and date-time formats are interpreted as local time when the time zone offset is absent. To avoid this problem, you can use date-time format or use a different date format along with time-zone. Please take a look at this JSFiddle for an example on the same.

    Stockchart with date-time Data

    Also, refer to this Stack Overflow thread for more information.

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Trading charts development #45049

    @maksuda,

    CanvasJS is a JavaScript Charting Library and provides API to create & customize charts in the applications. With the help of API, you can build interactive dashboard. Please take a look at these dashboard samples built using CanvasJS.

    Web Analytics Dashboard using CanvasJS

    —-
    Manoj Mohan
    Team CanvasJS

    @klauskobald,

    CanvasJS is a client-side library that requires browser environment and APIs to run. You should prevent running CanvasJS in the server environment. To do so in Nuxt app, you can use .client suffix to your component containing CanvasJS Chart. Please checkout this StackBlitz example for an example on integrating CanvasJS Charts in Nuxt app.

    Integrate CanvasJS Charts in Nuxt Application

    Also, check out this documentation page of nuxt to know more about client side component.

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Candlestick Chart #44923

    @dbrtechnopharma,

    In this example, we are reading data from /static/btc-usd-weekly-2021.json file. In your case, you can store the Nifty 200 data in a JSON format and pass it as datapoints to the chart.


    Manoj Mohan
    Team CanvasJS

    in reply to: Multi-series spline Issue #44887

    @jtr,

    Glad that you figured it out :)

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Multi-series spline Issue #44869

    @jtr,

    Please take a look at this Gallery Page for an example on rendering chart with data from JSON in PHP. If you are still facing issue, kindly create a sample project reproducing the issue you are facing & share it with us so that we can look into the code, understand the scenario better and help you out.


    Manoj Mohan
    Team CanvasJS

    in reply to: viewPort Max/Min with date value #44811

    @nydia,

    You can use rangeChanged event to get to know the datapoint with maximum value within viewport on zooming/panning. Please take a look at this JSFiddle for an example on showing maximum datapoint within viewport using stripline.

    Show maximum datapoint within viewport using Stripline

    —-
    Manoj Mohan
    Team CanvasJS

Viewing 15 posts - 16 through 30 (of 795 total)