Textual information for each data point

27 views
Skip to first unread message

Olexij Tkatchenko

unread,
Oct 21, 2015, 7:17:01 AM10/21/15
to dygraphs-users
I have textual information for each data point in my CSV (string). Is there a way to display this information with dygraph?

Dan Vanderkam

unread,
Oct 21, 2015, 1:08:17 PM10/21/15
to dygraphs-users
You could use a [highlightCallback][1] to fetch that data and show it somewhere in the DOM.


On Wed, Oct 21, 2015 at 7:17 AM Olexij Tkatchenko <olexi...@gmail.com> wrote:
I have textual information for each data point in my CSV (string). Is there a way to display this information with dygraph?

--
You received this message because you are subscribed to the Google Groups "dygraphs-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dygraphs-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Olexij Tkatchenko

unread,
Oct 22, 2015, 11:23:49 AM10/22/15
to dygraphs-users
I got it working using your suggestion. The problem is, I have textual data in the same csv file as the graph data. What I did, is:
1) set visibility for text columns to false
2) parsed the CSV a second time to get the textual information to display
3) used your proposed method to to display text data.
A bit awkward, but it works. Thanks!
Reply all
Reply to author
Forward
0 new messages