Hi everyone. I'm trying to show a timeline chart using Polymer 2 and the 
google-chart web element, but every time I try to show it appears like this.

<https://lh3.googleusercontent.com/-ejuKY0vsswM/W1Ik9fbtUAI/AAAAAAAAB1w/2okaP9pWWRckTJx2vGf_tj4YAE-EwrZZgCLcBGAs/s1600/Captura.PNG>















this is my code
 <google-chart id="charGoo" selection="{{evento}}" on-google-chart-select="
selected" type="timeline" options="[[opciones]]"
                   cols="[[cols]]" rows="{{data}}">
               </google-chart>

 opciones: {
                       type: Object, notify: true, value:
                       {
                           width: 900,
                           chartArea: { left: 400, top: 0, width: 900, 
height: 200 },
                           tooltip: { trigger: 'focus', isHtml: false },
                           timeline: {
                               colorByRowLabel: true,
                               groupByRowLabel: true,
                               backgroundColor: '#ffd'
                           },
                           hAxis: {
                               minValue: new Date(2000, 0, 0),
                               maxValue: new Date(2000, 0, 0)
                           },
                           vAxis: {
                               scaleType: 'log'
                           }
                       }

                    },//las opciones de la grafica la agregamos aqui

Thanks for any 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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
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/29dc46b0-43ef-415e-8415-85a4cd314b2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to