Forum Replies Created by Vishwas R

Viewing 15 posts - 436 through 450 (of 1,601 total)
  • in reply to: how to show slight bar for zero value in column chart #27969

    @vishnu-penubelli,

    Sorry, setting minimum height for column is not available as of now. However you can workaround this with few lines of code as shown in this JSFiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Canvasjs chart and csv – epoch conversion #27968

    Gunther,

    It seems like you are passing x-value as ‘time’. Passing it as ‘x’ should work fine in your case. Please take a look at this updated JSFiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Log-Log plot with small values #27858

    Conway,

    Thanks for reporting the use-case.

    It seems like there is an issue with smaller numbers in log axis. We will improve it in future versions.


    Vishwas R
    Team CanvasJS

    in reply to: Range bar graph for x-axis #27859

    @radha,

    You can remove the gap between columns incase of column / bar chart with the help of dataPointWidth. Please take a look at this JSFiddle.


    Vishwas R
    Team CanvasJS

    @deepaks,

    Can you 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 the code, run it locally at our end to understand the scenario better and help you resolve?


    Vishwas R
    Team CanvasJS

    in reply to: Log-Log plot with small values #27805

    @conway,

    Can you kindly create JSFiddle reproducing the issue you are facing and share it with us so that we can look into the code, run it at our end to understand it better and help you resolve?

    From what we have observed, sometimes things get delayed mostly when we are not able to reproduce your use-case or not able to understand the exact requirements. Having a JSFiddle helps us in understanding your case better and many a times we can just edit your code on JSFiddle to fix the issue right-away. I request you to brief more along with JSFiddle with your use-case if you have further queries or facing any issue.


    Vishwas R
    Team CanvasJS

    in reply to: Display Datetime from php in x axis of canvasjs chart #27784

    @bharadhan,

    Please take a look at this Gallery Page for an example on rendering chart with data retrieved from database in PHP. You can also download PHP Samples form our download page to run sample locally.

    I am retrieving datetime from mysql database. I want to convert it to date in php and display it in x-axis of the canvasjs chart

    Converting date-time to timestamp in PHP and multiplying it by 1000 to convert it to timestamp in JavaScript before passing it to chart-options should work fine in your case.

    If you are still facing issue, kindly share sample project along with sample database over Google Drive or Onedrive so that we can look into the code, understand the scenario better and help you out.


    Vishwas R
    Team CanvasJS

    in reply to: Display Multiple values in the Chart for x-axis values #27783

    @bharadhan,

    Please take a look at this Gallery Page for an example on rendering chart with data retrieved from database in PHP. You can also download PHP Samples form our download page to run sample locally.

    If you are still facing issue, kindly share sample project along with sample database over Google Drive or Onedrive so that we can look into the code, understand the scenario better and help you out.


    Vishwas R
    Team CanvasJS

    in reply to: pie chart limit & label display #27782

    @vlad,

    To avoid overlapping of IndexLabels / labels in Pie Chart, they are skipped whenever they get closer to other indexLabels – this behavior is by design. You can workaround this to show few other indexLabels by rotating the Pie Chart by setting startAngle.


    Vishwas R
    Team CanvasJS

    in reply to: Use more then one chart in single web page #27767

    @arsalanahmedsiddique,

    Can you kindly create 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 resolve?


    Vishwas R
    Team CanvasJS

    in reply to: Year and month combination on X-Axis #27745

    Vamsi,

    You can use valueFormatString to format the labels being displayed over axis.

    If you are still facing the 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 resolve.


    Vishwas R
    Team CanvasJS

    in reply to: How to add blank space to index label #27744

    @dmehta,

    Sorry, we are busy with implementing some other important features at this point of time. Hence, there is no definite timeline for this feature as of now.


    Vishwas R
    Team CanvasJS

    in reply to: About Trial Version #27738

    @rustam,

    Trial version is meant for evaluation purposes for 30 days. One of our sales representatives will get in touch with you soon for further assistance on licensing. For further queries related to sales please contact sales[at]canvasjs[dot]com


    Vishwas R
    Team CanvasJS

    in reply to: Use more then one chart in single web page #27737

    @arsalanahmedsiddique,

    Please take a look at this documentation page for step to step tutorial on rendering multiple charts in a page.


    Vishwas R
    Team CanvasJS

    in reply to: How to display chart as a static image (png, jpg) #27667

    @joshua,

    You are getting blank image instead of pie chart in the image as you are exporting chart before animation completes. Exporting chart as image after completion of animation by adding a delay should work fine in your case. Below is the code snippet for the same.

    setTimeout(function(){ 
    	var base64Image = chart.canvas.toDataURL();
    	document.getElementById('monImage').src = base64Image;
    }, chart.get("animationDuration") + 500); //500ms extra

    Please take a look at this updated JSFiddle for complete code.


    Vishwas R
    Team CanvasJS

Viewing 15 posts - 436 through 450 (of 1,601 total)