Forum Replies Created by Indranil

Viewing 15 posts - 316 through 330 (of 807 total)
  • in reply to: Too many labels #28332

    @sbsbsb,

    labelAutoFit considers parameters like the width of the chart, number of labels to be shown, the width of the labels, etc. and sets labelAngle, labelFontSize etc. to avoid the overlapping of labels.

    Since we don’t have direct control over the graph margins, I actually measured what they were and simply applied a negative margin in the CSS to obtain an effective margin of zero. This sort of simple hack won’t work if I don’t know what the margin is a priori. To my mind, this is a problem with the API design. Deciding the amount of margin should be decoupled from the algorithm that auto-spaces the labels.

    Can you please create a JSFiddle reproducing the above scenario and brief us further about the same.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: transform by equation #28302

    @vpaswin1994,

    Can you please brief us further about your requirement with an example or a JSFiddle so that we can understand your scenario better and help you out with a solution.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: A duplicate borderThickness declaration incompatible #28279

    @mgol,

    CanvasJS code, both 2.1 & the latest 2.3.2 contains a duplicate key definition in one of the objects. This is allowed everywhere in ES6+ but it was disallowed in ES5 strict mode which is what IE implements. I do realize CanvasJS is technically not written in strict mode but some tools impose its restrictions.

    Besides, there’s hardly any point in duplicate object keys. This is because the following object definition:
    var o = { a: 1, a: 2 };
    will produce an object { a: 2 } – the last definition wins. The CanvasJS object in question first defines borderThickness:this.labelBorderThickness and then borderThickness:0; the first of them can be removed. Can you do that?

    Thanks for reporting the issue, we will fix it in our future releases.

    I submitted it first at https://canvasjs.com/forums/topic/a-duplicate-borderthickness-declaration-incompaible/ but when I edited my post, it disappeared completely & I had to re-type everything. :( Please fix the forum.

    We deeply regret the inconvenience caused. We have escalated the issue to the concerned team.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: reset zoom button hint text #28252

    @elbit12,

    You can use culture to set the text of the tooltip shown over the reset button.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: Rendering Data to Chart #28239

    @prathyushchefmiddleeast-com,

    Can you kindly create a sample project with sample data reproducing the issue and share it with us over Google-Drive or Onedrive, so that we can look into your code, understand your scenario better and help you out?

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: Too many labels #28238

    @sbsbsb,

    labelAutoFit wraps and/or rotates and/or reduces font size of the label when they are too long and overlaps, it finds the best-fit and automatically manages label overlapping. Setting it to true(defaults to true) should work fine in your case.

    Also, if you are passing x-value as a timestamp to display date time over axis X, please set xValueType to “dateTime”.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: offline application #28224

    @marionboynton,

    CanvasJS is a standalone library that can work offline without any internet connection. You can download our library from the download page.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: mouseover help #28209

    @joran,

    Sorry, adding a mouse event to the line of a line chart is not available as of now.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: mouseover help #28193

    @joran,

    In case of line chat, each dataPoint is represented as a marker and a line connects them. Events (click, mouseover, mousemove, mouseout) binded for dataPoints get fired when mouse event is triggered on it and not on the connecting line.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: fetching data from csv #28192

    @santossg,

    Glad that you figured out

    __________
    Indranil Deo
    Team CanvasJS

    in reply to: mouseover help #28163

    @wstewart3,

    The above code seems to be working fine at our end. Can you please create and share a JSFiddle reproducing the issue so that we can look into your code and help you out.

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: HTML in Title #28162

    @svitucci,

    title renders any text that is passed to it as such. Passing HTML content to title is not possible as of now. However, you can customize the title using the title attributes.

    ___________
    Indranil Deo
    Team CanvasJS

    @nuiinc,

    Earlier WebKit allowed 448MB of canvas buffer memory whereas now they have dropped it to 224MB. Because of this, there was some memory issue with CanvasJS Charts in the latest iOS. However, we had optimized memory consumption in CanvasJS v2.3 – please check out this release blog for more info.

    Also, we will further optimize it in future releases.

    ___________
    Indranil Deo
    Team CanvasJS

    @nuiinc,

    Can you please create a sample project with sample data and share it over Google-Drive or Onedrive so that we can look into the code, understand it better and help you out?

    ___________
    Indranil Deo
    Team CanvasJS

    in reply to: two csv in the same chart #28105

    @santossg,

    dataPoints are aligned based on the x values and not the label. Assigning x values to the corresponding label and mapping it according to the label values should work fine in your case.

    ___________
    Indranil Deo
    Team CanvasJS

Viewing 15 posts - 316 through 330 (of 807 total)