Forum Replies Created by Vishwas R

Viewing 15 posts - 1,186 through 1,200 (of 1,636 total)
  • @mhdajmalik,

    You can use one of the valid JavaScript date-time formats. When you use x: new Date(2018,04,09),, 4 corresponds to May where as when you use x: new Date(“2018-04-09”),, 4 corresponds to April. Because of change in month, you may observe label properly positioned to the dataPoint in one case and not positioned in another case. As of now we don’t have option to control the starting point of the axis labels, however you can try axis interval and intervalType to fit into your requirement. If that doesn’t help you out, kindly create jsfiddle with your requirement so that we can understand it better and help you out?


    Vishwas R
    Team CanvasJS

    in reply to: Updating a chart from local CSV file #20355

    @jwk,

    Can you please check browser console for error Uncaught SyntaxError: Unexpected token ) - csvtest-update.htm:72. It seems like there is some mismatch of brackets in your code.

    If you are facing any other issue, kindly create jsfiddle or share static html/php files over onedrive/google-drive so that we can understand your code better and help you out?


    Vishwas R
    Team CanvasJS

    @mhdajmalik,

    Axis labels are not rendered for every dataPoint instead its rendered at every interval. However if you like to show label for every dataPoint, you can use label property instead of x-value. Please take a look at this updated JSFiddle.
    Column Chart with Custom X Axis Interval


    Vishwas R
    Team CanvasJS

    @mhdajmalik,

    Can you kindly create jsfiddle reproducing the issue you are facing so that we can look into it and help you out?


    Vishwas R
    Team CanvasJS

    in reply to: CanvasJS and Angular 5 CLI #20335

    @psergey,

    It seems to be working fine using import module. Please download the Sample Project of CanvasJS Charts integrated with Angular 5 CLI. Also take a look at Angular Charts Gallery for few more examples.
    Column Chart in Angular 5


    Vishwas R
    Team CanvasJS

    in reply to: I've paid but can't download #20314

    @madhousegraphics,

    Sorry for the inconvenience caused. Our sales team is looking into it and get in touch with you soon. For any sales related queries, please contact sales@canvasjs.com


    Vishwas R
    Team CanvasJS

    in reply to: Using JSP #20305

    @ashipway,

    Please take a look at JSP Gallery which has a wide range of examples showing how to render CanvasJS charts within JSP along with source-code. Also you can try downloading JSP Sample Project from download page, which you can run locally and try.

    If these doesn’t help you fulfill your requirement, can you please create a sample project with the issue you are facing and share the onedrive/google-drive link, so that we can look into your code and understand the issue better and help you resolve that?


    Vishwas R
    Team CanvasJS

    in reply to: Using JSP #20301

    @AShipway,

    Can you kindly share sample project along with sample database (over onedrive or google-drive), so that we can understand your code and scenario better and help you out?


    Vishwas R
    Team CanvasJS

    in reply to: Y-axis striplines not displaying correctly #20299

    Ryan,

    Thanks for reporting. We’ll look into the issue and fix it in future releases.


    Vishwas R
    Team CanvasJS

    in reply to: indexLabel placement issue on stackedBar Chart #20276

    @josh-armentano,

    Index-label is placed to the center of the bar, but minimum and maximum of axisX is making it look like its placed to the bottom of the bar. Please take a look at this updated pen.


    Vishwas R
    Team CanvasJS

    in reply to: IndexLabel placement #20219

    Meraj Ahmed,

    You can set axis maximum based on the maximum of sum of dataPoints from all dataSeries. Please take a look at this updated jsfiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Adding #total to dynamic generated toolTip #20218

    @jonas,

    Can you kindly create jsfiddle, so that we can understand your requirement better and help you out?


    Vishwas R
    Team CanvasJS

    in reply to: IndexLabel placement #20210

    Meraj Ahmed,

    IndexLabel of first dataPoint is placed inside as there is no space to position it outside the column. Increasing axisY maximum to a value greater than larger dataPoint value will make space for indexLabel to render it outside column. Please take a look at this updated jsfiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Label with jSON Chart #20187

    @I-TVSHOWS,

    Glad that the issue was resolved :)


    Vishwas R
    Team CanvasJS

    in reply to: specify the toolTipContent data #20181

    @yanzai,

    You can format x-values that appears in toolTip & indexLabels to your desired format using xValueFormatString. Please take a look at this page for list of supported formats. In your case, setting xValueFormatString to “hh:mm” should work fine. If this doesn’t solve your requirement can you kindly create a jsfiddle with sample data so that we can understand your code better and help you out?


    Vishwas R
    Team CanvasJS

Viewing 15 posts - 1,186 through 1,200 (of 1,636 total)