I'm working with react and Google Charts and I just found a problem that I 
can not find the solution for.

I have this component
   
 <Chart chartType='Line' data={data} options={options} />


And here are the values to data and options:

    
const data = [
            ["Year", "Value"],
            ["2020", 48.92],
            ["2025", 49.45],
            ["2030", 49.24],
            ["2035", 50.93],
            ["2040", 49.62],
            ["2025", 49.62]
     ];
        var options = {
            legend: "none",
            colors: ['#a52714', '#097138']
        };


This chart works well, but now **I need add a vertical line only in the 
year 2025**.

How can I do it?

Thanks for your help.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/c97f7d8b-f617-4a93-8143-fa34c0ad030b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to