Forum Replies Created by Sunil Urs

Viewing 15 posts - 151 through 165 (of 548 total)
  • in reply to: Formating #7491

    Marc,

    As you mentioned JavaScript Date Objects are formatted differently by different browsers. Only option here is to do custom format date value before displaying. You can use libraries like momentjs for the same.


    Sunil Urs

    in reply to: Issues retrievng data from MySql #7490

    Andres,

    Yes, you need to use php echo statements for the same. Currently we are occupied with some other tasks. If you can give us a day or two we can create a simple example for you.


    Sunil Urs

    in reply to: Issues retrievng data from MySql #7477

    Andres,

    Given that echo is working fine, please try creating this JSON using echo statements and it should work.


    Sunil Urs

    in reply to: Issues retrievng data from MySql #7474

    Andres,

    Issue might be one of the two

    1. $row[‘Tipus_1’] values are null – can you confirm this by logging (echoing) those values??
    2. json_encode is not encoding. What is the type of data??

    In case json_encode has some issue encoding the data, try creating the entire json data using echo statements and string concatination. If you can get those values to show up in JSON data chart will automatically render them.


    Sunil Urs

    in reply to: Issues retrievng data from MySql #7462

    Andres,

    At the pie graphic you will see the labels have encoding issues, but they are there, could this be the reason for canvas not showing labels, my data is in utf-8 and words have accents…

    CanvasJS doesn’t have any issue rendering Accented Characters. Problem is that JSON that you are generating doesn’t have label values set – labels are null in case of 2nd, 3rd and 4th chart’s JSON data.

    Given that JSON data of first chart has labels set properly, you can compare that code with that of 2nd chart’s JSON generating code (on the server side).


    Sunil Urs

    in reply to: Not able to plot Y axis Label #7405

    Swapnil,

    We just looked into it and it seems like the problem is because of decimal precision problem of JavaScript. We’ll get back to you with a solution soon.


    Sunil Urs

    in reply to: Average line on line chart #7384

    There is no way to do this automatically. Best option is to calculate the averages either on the server (or client side) and adding it to the chart.


    Sunil Urs

    in reply to: Disable touch support #7184

    Daniel,

    May I know which Tablet & Browser you were trying on?…. We’ve already fixed that issue. Now the behavior is that the pointer gets locked to chart only when the user touches and holds for a moment. But if you directly try to scroll up vertically without pausing, it should let you scroll.


    Sunil Urs

    in reply to: Commercial vs Non-Profit #7179

    Its either a bug or you are doing something wrong – Only difference between commercial and non-commercial version is the link. Can you please create a jsfiddle which reproduces the issue so that we can have a look?


    Sunil Urs

    in reply to: https connection is dead/timing out #7121

    Olhado,

    Currently our website does not support https – but we are considering it though. At the same time we strongly suggest not to link script directly from our site. This is because script on our sever is only meant for the website and it is updated frequently with newer features – sometimes with beta and test builds. These changes can sometimes cause compatibility issue at your end.

    Instead we suggest you to download the script and host it on your server.


    Sunil Urs

    in reply to: localization of #percent in toolTipContent #7092

    Shr,

    Thanks for reporting the issue.

    I’ve fixed the bug and ‘ve also implemented a new property percentFormatString in dataSeries using which you can control the number of decimals in percent values. Here is a working demo – please hard reload the browser.

    You can download this intermediate build here.


    Sunil Urs

    in reply to: Graph not responsive when loaded as hidden #7080

    Warria,

    It should. In case you face any problem with this please create a JSFiddle which reproduces the issue so that we can have a look.


    Sunil Urs

    in reply to: minimum Y value when all values are 0 #6958

    Daniel,

    Makes sense. We’ll consider this for the next version. Thanks for your feedback.


    Sunil Urs

    in reply to: legend marker is hide for area chart type #6922

    Arcent,

    We can help you with that. Can you please create a jsfiddle so that we can have a look?


    Sunil Urs

    in reply to: Required to use for Commercial Purpose #6898

    Bhagchand,

    Library is free for non-commercial and personal use only. For commercial purposes you need to purchase license.

    Sunil Urs

Viewing 15 posts - 151 through 165 (of 548 total)