amcharts3 icon indicating copy to clipboard operation
amcharts3 copied to clipboard

fillToGraph don't working on xy chart

Open bkchau opened this issue 6 years ago • 1 comments

Hi,

I follow the demo at this link: https://www.amcharts.com/demos-v3/xy-chart-fills-axis-v3/

I try to use "fillToGraph": "graph1" instead of "fillToAxis": "y" but it don't work. My code here

"graphs": [ {
	"id": "graph1",
        "balloonText": "x:[[x]] y:[[y]]",
        "fillAlphas": 0.3,
        "fillToAxis": "x",
        "lineAlpha": 1,
        "xField": "ax",
        "yField": "ay",
       "lineColor": "#FF6600"
}, {
	"id": "graph2",
        "balloonText": "x:[[x]] y:[[y]]",
        "lineAlpha": 1,
        //"fillToAxis": "y",
	"fillToGraph": "graph1",
        "fillAlphas": 0.3,
        "xField": "bx",
        "yField": "by",
       "lineColor": "#FCD202"
} ],

Do you have any suggestion for me?

bkchau avatar Feb 19 '19 08:02 bkchau

Having the same problem with; "fillToGraph" with "xy" graphs on version 3.21.15 . However, it works for graphs of type "serial".

milesatstetson avatar Aug 15 '22 19:08 milesatstetson