Forum Replies Created by Sunil Urs

Viewing 15 posts - 376 through 390 (of 548 total)
  • in reply to: Margins for Legend #5350

    I’ve fixed the bug. Issue was not because of the legend but due to wrong calculation of axis height. Please download this intermediate build and let me know if it worked fine.


    Sunil Urs

    in reply to: Align Pie/Doughnut Chart to Left #5349

    Because the alignment issue is mainly due to reduced chart width (because of the other element next to chart), you can consider adding a dummy div element next to other charts or reduce their width accordingly.

    in reply to: Enlarge chart option with canvasjs #5347

    Hetal,

    You can achieve this using jQuery & any of the available jQuery Plugins. We are doing the same in our gallery using jQuery UI Dialog.


    Sunil Urs

    in reply to: Axis x Duplicate days. #5336

    Patsy,

    I’ve found the issue but haven’t fixed the same yet. You should have a solution by the end of this week.


    Sunil Urs

    in reply to: Align Pie/Doughnut Chart to Left #5335

    Though I got some idea on the requirement, if you can upload a screenshot, that would help me in getting a clear picture on the same.

    in reply to: Will CanvasJS support real-time charts? #5331

    Real-time charts are already supported.. Have a look

    in reply to: How to hide dataseries in chart. #5329

    You can expect v1.5 in around 2 months.

    in reply to: Feature planning #5328

    Tim,

    Because am getting repeated questions on few planned features, I was also considering the same. Will add a page soon. Thanks for the suggestion.


    Sunil Urs

    in reply to: How to hide dataseries in chart. #5325

    [Update]

    Now we have a Tutorial on Hiding / Showing Data Series in a Chart.

    Blindo,

    As of now you need to add/remove the dataseries from data array to achieve the same. It’ll be possible via API in v1.5


    Sunil Urs

    in reply to: Using CanvasJS with bootstrap #5322

    I think the issue is most probably because the onload event has fired even before your script tag is executed. So instead of placing the script tag inside the div element place it just before the end of head tag. Entire CanvasJS website uses Bootstrap.

    Also, onload is not the best way to go. We are using onload in all the examples just to keep it simple and so that we don’t rely on any other libraries. Better approach is to use jQuery’s ready method.


    Sunil Urs

    in reply to: Migration from localhost to hosting server – JSON dont load #5321

    Savak,

    If its working fine on the localhost, then the issue is most probably with on the server side. Try the following steps.

    1. Using chrome developer tools find out if you are getting response from the server for the ajax request. If there is any issue on the server side, you’ll get appropriate errors in the response.
    2. If you are not receiving data, then try to access the URL directly to see if the URL that you are accessing is right.
    3. If the URL is right, then issue is probably in the PHP script. Try to debug the same.

    Hope this helps


    Sunil Urs

    in reply to: Axis x Duplicate days. #5318

    Thanks for the fiddle. I’ll be looking into this issue tomorrow.

    in reply to: Margins for Legend #5317

    Thanks, now that pie labelling is done, I’ll look into this.

    in reply to: Pie Chart Sample Count #5316

    Paul,

    There is no limit on the number of data samples for pie/doughnut. CanvasJS tries to render every dataPoint. But when dataPoint’s segment becomes smaller than .1 pixel, it won’t be visible in most cases – limit should depends on browser’s implementation of Canvas.


    Sunil Urs

    in reply to: Word Wrap on Labels #5315

    Hi,

    Here is an intermediate build with new properties implemented. But you won’t have to use them in most cases! New labelling algorithm is smart enough to wrap automatically when required. Here is fiddle demonstrating the same.

    New Properties in DataSeries:

    indexLabelMaxWidth: 150, 200, etc
    indexLabelWrap: true/false

    Please let me know if everything is working fine so that I can push it to the public.


    Sunil Urs

Viewing 15 posts - 376 through 390 (of 548 total)