Forum Replies Created by Vishwas R

Viewing 15 posts - 1,036 through 1,050 (of 1,605 total)
  • in reply to: Dynamic name Option #21194

    @Chetnath,

    You can assign any valid string as dataSeries name either directly or by passing a variable that’s a string. Please take a look at this jsfiddle.

    If you are looking for something else, can kindly create a jsfiddle and brief further about your requirement so that we can understand it better and help you out?


    Vishwas R
    Team CanvasJS

    in reply to: Chart is not displaying #21193

    Sankalp,

    Retrieving data from database has been handled in service.php which is loaded in index.php using AJAX request. You can combine both into a single php file according to your requirement / coding-style. Please take a look at this updated sample project.

    The sample projects shared seems to be working fine, can you kindly check browser console for any errors? Also can you kindly brief more about the issue you are facing like screenshot of the output, whether the chart is rendering with just axis atleast or chart is not at all rendering, etc which helps us understand your scenario better and help you out?
    PHP MultiSeries Column Chart

    Please refer PHP Chart from Database for an example on rendering chart in PHP from database. Also you can download & checkout PHP Samples from our download page.


    Vishwas R
    Team CanvasJS

    in reply to: ScaleBreaks on candlestick not working properly #21192

    @rathhna,

    Scale-breaks seems to be working fine in the use-case you have shared. However as you have mentioned in your other post, there seems to be issue when candlestick chart is combined with column chart. Please take a look at this updated jsfiddle where the scale-break that you have applied is working fine irrespective of chart-type.

    Considering this as duplicate of your other post I’m closing this post.


    Vishwas R
    Team CanvasJS

    in reply to: Very thick candlestick borders #21191

    @rathhna,

    Thanks for reporting the use-case, it seems to happen when candlestick is combined with column chart. We will look into the issue and get back to you at the earliest.


    Vishwas R
    Team CanvasJS

    in reply to: Multiseries column charts #21189

    Sankalp,

    It seems to be working fine. Can you kindly check if you have imported database and updated database username, password in service.php accordingly? Also can you kindly check the Browser Console for any errors?

    Considering this as duplicate of your other post. So am closing this post.


    Vishwas R
    Team CanvasJS

    in reply to: Chart is not displaying #21188

    Sankalp,

    It seems to be working fine. Can you kindly check if you have imported database and updated database username, password in service.php accordingly? Also can you kindly check the Browser Console for any errors?

    Kindly follow the instructions given the forums thread along with updating the database username & password in service.php.


    Vishwas R
    Team CanvasJS

    in reply to: How can i use CanvasJS in ASP.Net C# Web Forms? #21187

    @Ashan,

    Please take a look at this sample project for rendering CanvasJS Chart in ASP.NET Webforms. Refer ReadMe.txt file present in the sample project for setup related information.


    Vishwas R
    Team CanvasJS

    in reply to: How to add dynamic multiple line in Y axis #21181

    @govind,

    Please take a look at this Gallery Page for an example on rendering dynamic multi-series line chart.
    JavaScript Dynamic Multi-Series Line Chart

    You can remove the extra dataPoints once the length of dataPoints reaches a threshold value with the help of shift method. Please refer to this documentation page for steep-to-step tutorial on Creating Dynamics Charts.


    Vishwas R
    Team CanvasJS

    @dixitkotak,

    You can change the lineColor and color of selected region. Please take a look at this jsfiddle.


    Vishwas R
    Team CanvasJS

    @adirgapalit,

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

    Adding csv file to your project and loading it should work fine. Please download JSP Samples from our download page and checkout “Chart from CSV” example in the project.

    If the issue still persist, kindly create a sample project and share it over Google-Drive or Onedrive so that we can look into the code, understand your scenario better and help you out.


    Vishwas R
    Team CanvasJS

    in reply to: Labels are not coming in pie chart #21123

    @jenia,

    Glad that it’s working fine :)


    Vishwas R
    Team CanvasJS

    in reply to: Labels are not coming in pie chart #21119

    @jenia,

    indexLabels/labels in Pie Chart are skipped whenever they get closer to other indexLabels – this behavior is by design. You can workaround this issue by either rotating the Pie Chart as shown in this JSFiddle or by showing indexLabel outside the Pie Chart as shown in this JSFiddle – indexLabel’s are placed better when they are outside.

    It would be useful if you can create a JSFiddle demonstrating the issue with minimal code, so that we can look into your code, understand the scenario better and guide you accordingly.


    Vishwas R
    Team CanvasJS

    in reply to: need to have zoom-in, zoom-out, scroll to end #21118

    Vineet,

    Thanks for your valuable feedback. We will reconsider this behaviour for future releases, as we are working on some other features at this point of time.

    Meanwhile, please take a look at this JSFiddle with zoom-back button that facilitates you to zoom-out step-by-step after zooming into certain region.


    Vishwas R
    Team CanvasJS

    in reply to: Bug with negative values when try to hide y axis #21111

    Pavlo,

    The behaviour is due to the valueFormatString that you are using. For negative values, the dashes in axis labels are nothing but ‘-‘ (minus). To hide labels, I would suggest you to use labelFormatter as valueFormatString just defines how the value should be formatted before showing in label. Please take a look at this JSFiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Pivot area in Scatter graph #21088

    Afroz Ali,

    You can use stripLines to show average-values region.


    Vishwas R
    Team CanvasJS

Viewing 15 posts - 1,036 through 1,050 (of 1,605 total)