Forum Replies Created by Vishwas R

Viewing 15 posts - 481 through 495 (of 1,632 total)
  • 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

    in reply to: Custom combination chart #27666

    @q20190214,

    You can combine step-line chart with column chart to achieve your requirement. Please refer gallery for more examples on combination charts along with example code. Also take a look at this JSFiddle for combination of step-line and column.


    Vishwas R
    Team CanvasJS

    in reply to: Blurry title and x-axis #27629

    @mwick,

    Using consistent web-safe fonts should work fine in your case.


    Vishwas R
    Team CanvasJS

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

    @joshua,

    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: Displaying x-labels on stacked bar #27609

    Samyukta,

    Labels are shown at every interval of the axis. In some cases, alternate labels are skipped to avoid overlapping of labels. Setting interval to 1 should work fine in your case. Please take a look at this updated JSFiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Get chart inner width #27543

    @deeksha11574,

    You can align axisY of multiple charts with the help of margin. Please take a look at this JSFiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Format Numbers 1,000,000 to 1M or 1,000 to 1K #27504

    @jfranco30,

    Taking the absolute value within labelFormatter should work fine in this case. Please take a look at this JSFiddle.

    If you are still facing issue, kindly create JSFiddle with sample data 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: License related question #27492

    Rajesh Pillai,

    Thanks for your interest in CanvasJS. One of our representative from sales-team will get in touch with you soon over email. For any other sales related queries feel free to inbox us at sales[at]canvasjs[dot]com.


    Vishwas R
    Team CanvasJS

    in reply to: Data Null #27476

    @sana,

    Can you kindly share sample project along with sample database over Google-Drive or Onedrive so that we can look into the code, run it locally to understand the scenario better and help you resolve?


    Vishwas R
    Team CanvasJS

    in reply to: Format Numbers 1,000,000 to 1M or 1,000 to 1K #27475

    @jfranco30,

    You can achieve this with the help of labelFormatter. Please take a look at this gallery page for the live working example.


    Vishwas R
    Team CanvasJS

    in reply to: Data Null #27461

    @sana,

    Please take a look at this JSFiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Mobile touch screen support #27448

    @ghanshyam-bhatt,

    Can you kindly share sample project along with sample data over Google-Drive or Onedrive so that we can look into the code, run it locally to understand the scenario better and help you resolve?


    Vishwas R
    Team CanvasJS

    in reply to: Animating between legends #27447

    @santolla,

    Chart animates only on the first render, as of now. Due to which, animating on switching between dataSeries is not available yet.


    Vishwas R
    Team CanvasJS

    in reply to: right click event on chartarea #27417

    @sknahaimtog-co-kr,

    Please take a look at this JSFiddle.


    Vishwas R
    Team CanvasJS

    in reply to: what are valid font colors? #27416

    @eaghmos,

    CanvasJS supports color-names, hex code and RGB for colors. Please take a look at this documentation for more information and live examples on the same.


    Vishwas R
    Team CanvasJS

Viewing 15 posts - 481 through 495 (of 1,632 total)