question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Timeline Tooltip Not Aligned to Data Item

See original GitHub issue

image As Shown from GWT https://developers.google.com/chart/interactive/docs/gallery/timeline#configuration-options

As shown in my example image Code used in my example `<

<script src="../bower_components/webcomponentsjs/webcomponents-lite.js"></script> <link rel="import" href="../bower_components/polymer/polymer.html"> <link rel="import" href="../bower_components/google-chart/google-chart.html"> <link rel="import" href="../bower_components/paper-input/paper-input.html"> <dom-module id="my-view2"> <template>
<style>

  google-chart {
    height: 180px;
    width: 50em;
  }
</style>



</google-chart>
<google-chart id="timeline" type="timeline" data='{{data}}' ></google-chart>

<iron-ajax
        auto
        url=""
        handle-as="json"
        on-response="handleResponse"></iron-ajax>
</template> <script> ``` Polymer({ is: 'my-view2', attached: function() { console.log('my-view1 attached') ``` // debug set this directly ``` this.set('data',[['Name', 'Start', 'End'], [ 'Washington', new Date(1789, 3, 30), new Date(1797, 2, 4) ], [ 'Adams', new Date(1797, 2, 4), new Date(1801, 2, 4) ], [ 'Jefferson', new Date(1801, 2, 4), new Date(1809, 2, 4) ] ]) }, handleResponse: function(response) { console.log('got ajax response') console.dir(response) } }); ``` </script>

</dom-module>`

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:21 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
tanin47commented, Sep 13, 2017

@wesalvaro, we are upgrading to PolymerJS 2.0, and the problem still exists with the default config of PolymerJS 2.0 and the latest origin/master. FYI, other stuffs seem to work fine, though we see a blink of TypeError: cannot read 'draw' of null when the graph is first rendered. We are using our monkey-patched version of it here (https://github.com/tanin47/google-chart/commit/3acaaccd1ff9e582e2e9c886ceefa29911b5c461)

1reaction
wesalvarocommented, Oct 24, 2017

I’ll be looking into integrating the v2 stuff and new API again, soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

tooltip not working in vis.js timeline - Stack Overflow
As per documentation: title - string - "Add a title for the item, displayed when holding the mouse on the item. The title...
Read more >
Timeline view not aligned properly in UI for ASP.NET AJAX
Hi I'm using Scheduler Q1 2008 415. I'm trying to get the timeline view setup with resources donw the left hand side.
Read more >
CSS timeline changing because of Bootstrap tooltip - SitePoint
I have encountered a new issue which changes the timeline while showing the tooltip and its also not displaying properly. Any ideas? Thanks....
Read more >
series.timeline.tooltip.pointFormatter | highcharts API Reference
A configuration object for the tooltip rendering of each single series. Properties are inherited from tooltip, but only the following properties can be...
Read more >
Tooltips – amCharts 4 Documentation
Let's see how we can tweak this content, and even replace with live data. ... By default each element on a chart does...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found