How to add the target line in google column chart like this.
Create Goal Line Step 1: Right-click on any bar and select the 'change series chart type' option. Step 2: In the change chart dialog box, make sure the Combo category is selected. Step 3: Click the dropdown of the 'Target sales' field. Step 4: Select the Line option.
If you'd like to combine the columnchart and linechart, use ComboChart. Documentation and examples are here : https://developers.google.com/chart/interactive/docs/gallery/combochart
basically, have the data point for the line chart as one of the columns in the DataTable and specify this column to be the "series" = "line", whereas the other columns are visualized in a ColumnChart.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With