rakannimer / react-google-charts

A thin, typed, React wrapper over Google Charts Visualization and Charts API.
https://react-google-charts.com/
MIT License
1.61k stars 348 forks source link

Sankey Chart fillOpacity not working #378

Open DislayPS opened 4 years ago

DislayPS commented 4 years ago

Hi there,

Trying to use the customization options provided by google charts

const visualOptions: ChartWrapperOptions['options'] = {
      sankey: {
        node: { width: 30, interactivity: false, label: { fontSize: 16 } },
        link: {
          color: {
            fill: '#00ffff',
            fillOpacity: 0.1,
          },
        },
      },
    };

<Chart chartType="Sankey" data={chartData} options={visualOptions}  />

The fill color field works, but not the fillOpacity - I set it to 0.1, but it shows at 0.6 in the code

Screen Shot 2020-08-28 at 3 07 27 PM
kathrynowy commented 6 months ago

@DislayPS hey!

have you found an answer?

DislayPS commented 6 months ago

@kathrynowy sorry I moved on to other things, I don't think I had clarity on this...