Forum Replies Created by Vishwas R

Viewing 15 posts - 556 through 570 (of 1,622 total)
  • in reply to: How to change bar chart colour based on condition? #26123

    @nazrime,

    Please take a look at this JSFiddle.


    Vishwas R
    Team CanvasJS

    in reply to: How to print a page with multiple charts? #26122

    @ady-shaputra,

    It seems to be exporting along with the chart legend.
    Export CanvasJS Charts with html2canvas

    If you are still facing the issue, kindly create JSFiddle reproducing the issue you are facing and share it with us so that we can look into it and help you resolve.


    Vishwas R
    Team CanvasJS

    @ayanghatak,

    The minimum width of the dataPoint seems to become negligible when the height of the chart is 180px. Setting dataPointMinWidth to 1 seems to be working fine. Please take a look at this updated JSFiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Points in X-axis #26094

    @lokey2094,

    Please take a look at this updated JSFiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Bug report #26093

    @sean_wdl,

    Using the code snippet shared above we are unable to reproduce the issue at our end. Can you kindly create a JSFiddle reproducing the issue you are facing and share it with us along with the sample data so that we can look into the code and chart-options being used by you 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 or not able to understand the exact requirements or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.

    Having a JSFiddle helps us in figuring out the issue and suggesting an appropriate solution accordingly.


    Vishwas R
    Team CanvasJS

    in reply to: Broken date/time #26085

    @andenjs,

    For one thing, I apparently need to append “000” to Unix timestamps? Otherwise, they are wrong. Is that right?

    Unix Timestamp is the number of seconds that has elapsed since January 1, 1970 whereas JavaScript timestamp is the number of milliseconds that has elapsed since January 1, 1970. Multiplying unix timestamp by 1000 gives you JavaScript timestamp.

    Second, the example I was looking at has the X-axis format under data. However, this doesn’t work

    xValueFormatString is used to define the the format of x-value that appears in toolTip and indexLabel whereas valueFormatString is used to define the format of the value that appears in axis. Setting valueFormatString should work fine in your case.


    Vishwas R
    Team CanvasJS

    in reply to: Points in X-axis #26066

    @lokey2094,

    Crosshair label is showing 7.1 due to it’s valueFormatString (which might be #,###.# or #,###.0). Changing valueFormatString to “#,###.00” should work fine in your case.

    In order to help us in understanding the issue, please have a reproducible demo of your chart.

    This one step can assure you a speedy response. Fork out our template JSFiddle and reproduce the chart at your end. Try to keep it to the bare minimum by removing unnecessary code.

    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 or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.

    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.


    Vishwas R
    Team CanvasJS

    in reply to: create multiseries chart #26065

    @munmun,

    The sample shared by @manoj-mohan seems to be working fine. If you are still facing issue, kindly create sample project reproducing the issue and share it over Google Drive or Onedrive, along with sample database, so that we can run it locally at our end, understand the scenario better and help you out.


    Vishwas R
    Team CanvasJS

    in reply to: Multiseries chart using javascript and java #26064

    @munmun,

    Please take a look at this sample project for multiseries chart in JSP with datapoints being fetched from oracle database. You can use zooming / panning feature when there are more number of datapoints for better visualization, please refer documentation for more information.


    Vishwas R
    Team CanvasJS

    @herobrine,

    Please take a look at this sample which shows rendering chart within React Modal.


    Vishwas R
    Team CanvasJS

    in reply to: Ignore data with zero property #26027

    @trifectait,

    There is no data for the entire graph for a variable, and so we are getting a flat line at zero.

    Do you mean hiding axis line? If so, you can set axisX lineThickness property to 0 to do so.

    If this doesn’t fulfill your requirements kindly share JSFiddle with sample data or a pictorial representation of your requirement so that we can understand it better and help you out.


    Vishwas R
    Team CanvasJS

    in reply to: Label below Splitline #25955

    @kinokatsu,

    Please take a look at this updated JSFiddle for an example on positioning label of dummy stripLine below the actual stripLine dynamically.

    Please refer the following articles for more information on calculating height of a text.
    Stackoverflow thread
    Tutorialspoint


    Vishwas R
    Team CanvasJS

    in reply to: index label not displayed in line chart #25954

    @rajupradeep,

    addTo method is used to add new element(datapoint) to the specified array(dataseries). Updating the marker properties of existing datapoint and re-rendering should work fine in your case. Please take a look at this updated JSFiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Multi graph #25946

    @lokey1410gmail-com,

    It’s not possible to position single chart in multiple places in a page. However, you can create multiple charts with same chart-options and position it based on your requirements. Please take a look at this JSFiddle.


    Vishwas R
    Team CanvasJS

    in reply to: Problem in displaying Legend #25939

    Samyukta,

    The sample provided by @manoj-mohan seems to work fine with your case. Please take a look at this updated JSFiddle.


    Vishwas R
    Team CanvasJS

Viewing 15 posts - 556 through 570 (of 1,622 total)