Forum Replies Created by Manoj Mohan

Viewing 15 posts - 136 through 150 (of 796 total)
  • in reply to: Multi Series Stacked Column Chart #40124

    @er-khushboo27,

    You can show indexlabels to the top most dataseries of each stacked column by setting indexLabelPlacement property to “outside”. Please take a look at this updated JSFiddle for a working example.

    Grouped Stacked Column with Indexlabel

    If this doesn’t fulfill your requirements, can you kindly brief us more along with an example or a pictorial representation of your requirements so that we can understand it better and help you out?

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Placement of datapoint texts #40017

    @vinaysingh0399,

    Indexlabels gets positioned based on the value coordinate and seems to be working fine. Having a JSFiddle along with the chart options and the data that you are using will help us understand the actual scenario better and guide you with an appropriate solution.

    From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue or not able to understand the exact requirements.

    Having a JSFiddle helps us in figuring out the issue and many a times we can just edit your code on JSFiddle to fix the issue right-away.

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Placement of datapoint texts #39987

    @grasssnake,

    Can you kindly create JSFiddle reproducing the issue you are facing & share it with us so that we can look into the chart-options being used, understand the scenario better and help you out?

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Date in xValue – Don’t Show. #39467

    @g3nius,

    To pass date as x-value using PHP, you need to first convert PHP date to PHP timestamp using strtotime and then convert PHP timestamp to JavaScript timestamp by multiplying PHP timestamp by 1000. Along with passing the timestamp as x value, you need to set xValueType option to ‘dateTime’ in dataseries.

    foreach($result as $row){
      array_push($dataPoints, array("x"=> strtotime($row['created_at']) * 1000, "y"=> $row['responseTime']));
    }

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: X-axis labels should always start at 1st of a month #39437

    Neha,

    Controlling the tick and label start point is not possible as of now. However, with the help of stripline, you can display the labels and ticks at custom intervals as shown in this JSFiddle.

    Custom Axis Labeling Chart

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Add Extra Text to the PDF file #39402

    @ankur,

    You can use text() method of jsPDF to add extra content after chart as shown in the code snippet below.

    
    var pdf = new jspdf.jsPDF();
    pdf.addImage(dataURL, 'JPEG', 0, 0);
    pdf.text(0, 230, "Simple Column Chart")
    pdf.save("download.pdf");
    

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Add Extra Text to the PDF file #39385

    @ankur,

    We don’t have exporting chart in pdf as an inbuilt feature as of now. However with few lines of code, you can export the chart in PDF using jsPDF. Please check out the code-snippet below.

    var pdf = new jsPDF();
    pdf.addImage(dataURL, 'JPEG', 0, 0);
    pdf.save("download.pdf");

    Also, have a look at this JSFiddle for complete code. You can refer to the jsPDF documentation for more information about the methods available in jsPDF library.

    Exporting chart in PDF format using jspdf

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Fix zoom event on borders of chart #39344

    @reactdeveloper,

    Sorry for the inconvenience caused to you because of this behavior. This behavior is by design & we would revisit the same in future.

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Fix zoom event on borders of chart #39334

    @reactdeveloper,

    This behaviour is as per design and it’s not possible to keep zoom selection active on moving cursor of the chart area.

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Render charts to disk using php #39262

    @thefireescaper,

    You can save the chart in the server side and store it in required location using headless browsers like Chrome Headless Browser, BrowserShot, SlimerJS etc. Also, you can use puppeteer (headless Chrome Node.js API) to achieve your requirement. Please take a look at this sample project for an example on saving the chart using puppeteer API.

    —-
    Manoj Mohan
    Team CanvasJS

    @vishnu-penubelli,

    We have just released CanvasJS Charts v3.7 with a few bug fixes related to tooltip & it’s content. Please refer to the release blog for more information. Do download the latest version from our download page and let us know your feedback.

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Tooltip issue on multiple data series spline chart #39257

    @mwick,

    We have just released CanvasJS Charts v3.7 with a few bug fixes related to tooltip & it’s content. Please refer to the release blog for more information. Do download the latest version from our download page and let us know your feedback.

    ____
    Manoj Mohan
    Team CanvasJS

    in reply to: can’t bind ‘canvasjs-chart’ in Angular #39222

    @abhey,

    Can you kindly create a sample project reproducing the issue you are facing 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?

    From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue at our end or not able to understand the exact requirements or due to the variation in chart-options being used by you and us. Because of these reasons we expect you so share sample project along with sample data(dummy data) which helps us run it locally at our end to understand the use case and help you resolve.

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Chart for ReactNative Mobile Application #39181

    @chandrasing-mahale,

    You can add CanvasJS chart to your react native application using webview component as shown in this sample project. It is not possible to integrate chart via native code as of now.

    —-
    Manoj Mohan
    Team CanvasJS

    in reply to: Canvas line Chart not visible IPAD #39149

    @thefireescaper,

    Can you kindly create sample project reproducing the issue you are facing & share it with us over Google-Drive or Onedrive so that we can run it locally at our end to understand the scenario better and help you out?

    At the same time, kindly check if you are using one of the standard date-formats if your data includes date-time values. Some of the browsers handles date-time even if you pass date in wrong format whereas some browsers don’t.

    —-
    Manoj Mohan
    Team CanvasJS

Viewing 15 posts - 136 through 150 (of 796 total)