Hi Mattia. To address your two points about the combo chart:
- You can duplicate the column of data to get a second series that is identical to the first. Use a DataView and set the columns, like so: var dataView = new google.visualization.DataView(dataTable); dataView.setColumns([0, 1, 1]); - The line chart does indeed stop at the centers of the first and last columns because if the points were drawn at the outside edges of the columns, or even further, at the borders, that would distort the line. If you have additional data to the left or right of the first and last columns, then the line could extend to those data points, and would be clipped at the border. I hope that helps clarify things. dan On Tue, Feb 11, 2014 at 8:55 AM, <[email protected]> wrote: > Unfortunately this isn't what I'm trying to do for these reasons: > - the line above the chart is visible only if there are at lest two > series of values in the X axes > - the line doesn't reach the border of the chart but lays from the center > of the first left serie to the center of the last serie to the right. > > I think that the combo chart is not intended to be used like that, since > I've already tryed this solution, so I wonder if there is any better/native > solution or a workaround that makes me really accomplish what I need. > > Thank you however for you reply. > > Il giorno martedì 11 febbraio 2014 13:26:07 UTC+1, [email protected] ha > scritto: >> >> Try a combo chart? >> https://developers.google.com/chart/interactive/docs/gallery/combochart >> >> Jon >> >> >> On Tue, Feb 11, 2014 at 4:10 AM, <[email protected]> wrote: >> >>> Hy guys, >>> I'm creating a ColumnChart that represents the company performance on >>> closing/managing their helpdesk requests. >>> The chart has the number of closed calls on Y Axe and the company name >>> on X Axe. >>> For a simpler consultation of the chart, I want to draw a 2 custom >>> horizontal gridlines for specified values so I can set a bonus/malus >>> treshold and immediately know, by a rapid eyesight, if a company has >>> reached the minimum treshold and has outdone the bonus treshold. >>> How can I get this feature? >>> >>> -- >>> 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 http://groups.google.com/ >>> group/google-visualization-api. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- > 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 > http://groups.google.com/group/google-visualization-api. > For more options, visit https://groups.google.com/groups/opt_out. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> - 978-394-1058 [email protected] <[email protected]> 5CC, Cambridge MA [email protected] <[email protected]> 9 Juniper Ridge Road, Acton MA -- 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 http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/groups/opt_out.
