Forum Replies Created by xavcactus

Viewing 11 posts - 1 through 11 (of 11 total)
  • in reply to: Area Chart: Line and area of different colors #30336

    Perfect, that is what I was looking. I totally missed it.
    Cheers

    in reply to: Get the real x axis width in pixel? #30335

    Thanks for the update

    in reply to: Get the real x axis width in pixel? #29870

    That’s it; thanks!

    in reply to: Export Canvasjs chart + images #29713

    Hi @shashiranjan , good news, I will try this html2canvas for my case!
    Cheers

    in reply to: How to add a border to the “plot area” !? #29619

    Hi @shashiranjan, thanks for this workaround! It will work!

    Also my suggestion or a feature request: having more control on the “plot area”, like a border, described by this thread.

    in reply to: Graph backgrounds VS StripLines layer order? #29603

    Ok then please add a feature request if possible to add a plotBackgroundColor option to the graph please

    One image to get you the idea on the expected result : https://imgur.com/a/bvw1sM2

    in reply to: stripLines add a showInLegend option #29582

    Well, I found a way around :) !
    (another way around, I start to have lot’s of ways around to do some simple things !)

    Check https://jsfiddle.net/mgck92pw/
    – You’ll need to use another axis and hide it here “axisX2”.
    – You’ll also need another ‘data’ item, with just one value. I’ve chosen here “rangeArea” to get a square element in my legend.

    IF you could show me a way to interact with the legend in another way, that’ll be great! thanks

    in reply to: stripLines add a showInLegend option #29568

    @manoj-mohan
    Do you have an example of updating/hacking the legend please?

    For what I gather, the ‘Legend’ ‘setLayout’ is called each time the chart is rendered (so the windows resized) and parses it’s ‘dataSeries’ each time thus making useless altering it’s items or rows items.

    in reply to: Graph backgrounds VS StripLines layer order? #29567

    Hi @manoj-mohan,

    Unfortunately you used opacity for the other ‘striplines’ and in combination with ‘showontop’ makes our data (the line here) behind the ‘stripline’. I would like to have the data on top.
    Can’t we simply have a background color please?! thanks

    in reply to: stripLines out of the graph, not shown #29508

    hi @shashiranjan,
    Thanks for your answer,

    I’m aware of the axis minimum/maximum options, though, why not have an option to fit all data in the chart view (if not by default)?

    Thanks

    in reply to: stripLines add a showInLegend option #29483

    Hi @manoj-mohan, thanks for your answer.

    I saw the stripLines label parameters but I would really like to be able to add them to the legend.
    I can have several stripleLine in the graph and would not like the label to repeat itself N times.

    check the image attached to get an idea of what I’m trying to reproduce: example
    Those greys stripline are periodic throughout…time and there could be more in display. Maybe it’s not a “indutry-standard”, but it would make sense to gather it in the legend ?

    • What do you think? would this be something you could include to the library?
    • If not, as a quick fix, I played around quickly to get into the legend but I failed, each time I render (chart or legend) it delete my array chart.legend.rows[0].items.push({markerType: "circle", markercolor:"grey", text: "tide"})is there no way to hack a the legend

    Thanks!

    PS.: it would be nice to have a preview-post or edit-post option available here

Viewing 11 posts - 1 through 11 (of 11 total)