Forum Replies Created

Viewing 15 posts - 16 through 30 (of 1,241 total)
  • Author
    Posts
  • in reply to: Click event from tooltip #29172

    Stefan,

    Thanks for reporting the use-case to us. Setting pointer-events to ‘auto’ should work fine in this case. We have updated the JSFiddle with the same.


    Vishwas R
    Team CanvasJS

    in reply to: Chart overflow #29151

    @afreay,

    CanvasJS Chart automatically sets the height and width of the chart according to container’s dimensions. If the values are not set for the chart-container, it takes the default values (500px X 400px).

    Setting height to the chart-container should work fine in your case. If you are still facing any issue, kindly create JSFiddle reproducing the issue and share it with us so that we can look into the code, understand the scenario better and help you out.


    Vishwas R
    Team CanvasJS

    in reply to: Data aggregation #29119

    Saurabh,

    You can update dataPoints based on zoom-level with the help of rangeChanging event to achieve your requirements. Please take a look at this JSFiddle.


    Vishwas R
    Team CanvaJS

    in reply to: y-Axis Scaling #29111

    @tschounes,

    Is there something like the “suggestedmin” function: when datapoints are between the min-max values the max and min values are taken, if there outside the larger value is used.

    Sorry, we don’t have such option as of now.


    Vishwas R
    Team CanvasJS

    in reply to: New Installation Error #29086

    @shahparz,

    Setting proper DocumentRoot should work fine in your case. Please refer this StackOverflow thread for more information.


    Vishwas R
    Team CanvasJS

    in reply to: y-Axis Scaling #29061

    @tschounes,

    It seems you are not using valid chart options to set the axis range. You can set the range of axisY by setting minimum and maximum properties, please refer documentation for live examples & more customizations available.


    Vishwas R
    Team CanvasJS

    in reply to: How to reduce number of 0 on Y axis? #29049

    Saul,

    Glad that you figured it out :)


    Vishwas R
    Team CanvasJS

    in reply to: Graphs with Multiple Axes get value from mysql #29013

    @ilteo85,

    Please take a look at this video for complete tutorial on connecting and reading data from database in 000webhost.


    Vishwas R
    Team CanvasJS

    in reply to: Data only Loads after window is resized #28996

    Saulius,

    From the code that you have shared, I observe that you are not re-rendering the chart after fetching data. Rendering chart by calling chart.render() after updating dataPoints (TotalPower & TotalVoltage) inside getJSON should work fine in this case. Try calling render method and let us know if that works for you.

    If the issue still persists, kindly create JSFiddle reproducing the issue and share it with us along with sample JSON so that we can run it locally at our end to understand the scenario better and help you resolve.


    Vishwas R
    Team CanvasJS

    in reply to: Data only Loads after window is resized #28989

    @saulius,

    Please refer this documentation page for step-to-step tutorial on rendering chart with data from JSON. If you are still facing issue, kindly create JSFiddle reproducing the issue you are facing and share it with us along with sample JSON so that we can run it locally at our end to understand the scenario better and help you resolve.


    Vishwas R
    Team CanvasJS

    in reply to: Spline overshooting (trimmed from top) #28988

    @kashmar,

    Glad that you figured it out :)


    Vishwas R
    Team CanvasJS

    in reply to: canvas js and react js #28918

    @bhumika,

    The example in Gallery seems to be working fine. Please take a look at this working sample for rendering dynamic line chart in React. You can also download sample project from our download page.

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


    Vishwas R
    Team CanvasJS

    in reply to: Combine line graph from csv with zoom and pan #28917

    @benove,

    Please take a look at this documentation page for step-to-step tutorial on rendering chart from csv file.


    Vishwas R
    Team CanvasJS

    in reply to: How to change the legend symbol? #28872

    @siddharth-tiwari,

    You can use legendMarkerType to change the marker-type of legend and to perform mouseover event on legend, you can use itemmouseover.


    Vishwas R
    Team CanvasJS

    in reply to: YYYYDDMM XAxis using JSON #28829

    @durxxx,

    Passing x-value in one of the valid JavaScript Date-Formats should work fine in this case. Please take a look at this JSFiddle for an example on parsing date to ISO standard [new Date(“2020-03-05”)].


    Vishwas R
    Team CanvasJS

Viewing 15 posts - 16 through 30 (of 1,241 total)