[visualization-api] intervals on columnCharts prevent tooltips from working
If I add intervals to a columnChart, no tooltip will come up when I hover over any part of the graph covered by an interval. This seems to be true regardless of whether the focusTarget is datum or category. I modified one of the example fiddles to demonstrate: https://jsfiddle.net/mxyecav6/1 -- 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/4307946e-26a7-4e0c-ba1b-9496d4276765%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[visualization-api] category tooltips and selection show wrong category when column chart is scrolled
This is a bug report (btw, am I better off reporting this here in the forum, or on the github site, or does it not make a difference?). I have a column chart inside a div with overflow:auto. Thus, when the specified width exceeds the width of the div, the chart is scrollable. So far so good. However, when I scroll to the right and mouse over one of the categories, the tooltip that shows up and the category that gets highlighted is the one that would have been under the mouse had I not scrolled, i.e. it's the wrong category. Clicking also selects the wrong category. This seems like a fairly serious bug. I modified one of your example fiddles to demonstrate the problem: https://jsfiddle.net/nemefev8/ BTW, in this example, notice also that the x-axis category labels are almost all replaced with "...". Is there any way to stop it from doing that? Thanks, Suzanne -- 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/2f08d729-d5c8-485e-9a85-3e5accae4347%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[visualization-api] Is it possible to customize the tooltip when focusTarget=category ?
I'm using ColumnCharts. When focusTarget is set to category, the ensuing tooltip lists the x-axis text and then the tooltip values for each individual bar. Is it possible to customize this text to omit the individual bar tooltip strings and just supply a string that is the tooltip for the entire category? Also, the tooltip seems to be coming up in a position that partially obscures the data I'm hovering over -- is there a way to control or prevent that? Thanks, Suzanne -- 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/9c84d9e2-8582-416a-a600-6ab9ffd3bb5b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[visualization-api] Feature request: tooltips for axis values
I have a column chart with a discrete hAxis. My hAxis category labels are abbreviated forms of a longer string, which I would like to show in a tooltip, but there doesn't seem to be any way to accomplish that. I wouldn't even mind rolling my own tooltips, but it seems that no mouseover event is even triggered when I mouse over a category label. Also (or perhaps alternatively), is there any way to force a linebreak in a category label? I'm seeing longish labels overlapping even when I think they should be split over multiple lines, and I'm not sure how to prevent that. Suzanne -- 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/5cb76857-21fd-463b-a186-40503141ee10%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [visualization-api] intervals on columnCharts prevent tooltips from working
Hi, is there any update on this, regarding how long it might take before we see a fix for this? This is a fairly serious problem for me, because the current behavior is quite unintuitive for users. Thanks, Suzanne On Monday, October 17, 2016 at 10:32:38 AM UTC-7, Daniel LaLiberte wrote: > > Thanks Suzanne, > > Looks like a bug, but I don't know how difficult it will be to fix. > > On Wed, Oct 5, 2016 at 7:30 PM, Suzanne Paley <suzann...@gmail.com > > wrote: > >> If I add intervals to a columnChart, no tooltip will come up when I hover >> over any part of the graph covered by an interval. This seems to be true >> regardless of whether the focusTarget is datum or category. I modified one >> of the example fiddles to demonstrate: https://jsfiddle.net/mxyecav6/1 >> >> -- >> 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-visua...@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/4307946e-26a7-4e0c-ba1b-9496d4276765%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-visualization-api/4307946e-26a7-4e0c-ba1b-9496d4276765%40googlegroups.com?utm_medium=email_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> > dlali...@google.com5CC, Cambridge 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 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/71060426-c438-4182-accd-e097a086d599%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [visualization-api] Table set maximum height
Changing the max-height to height isn't useful to me, because I don't want the enclosing div to be any larger than it needs to be, either. On Tuesday, January 10, 2017 at 11:43:43 AM UTC-8, Daniel LaLiberte wrote: > > There may be limitations regarding use of max-height. I don't have > confidence regarding that question because I haven't tested it much. But > there may be a way to work with what it can do. Here is a variation of > your example that appears to work correctly, but I moved your container to > a wrapper, and changed the max-height to just height. Then the table_div > just has height:100%. https://jsfiddle.net/dlaliberte/Lw5h7c2y/ > > It even shrinks if you have fewer rows than needed to fill the height. > > On Tue, Jan 10, 2017 at 2:28 PM, Suzanne Paley <suzann...@gmail.com > > wrote: > >> I know the Table visualization takes parameters for height and width, but >> what I really want is a parameter for max-height. I've tried not supplying >> a height parameter and just constraining the height of the enclosing div, >> but then if the table exceeds the div dimensions in both directions, I need >> to scroll down to the bottom of the table in order to find the horizontal >> scrollbar (this is on Chrome on a Linux desktop, and I don't have a >> horizontal scroll gesture -- I need to user the scrollbar), and the table >> header won't be fixed. Example at https://jsfiddle.net/0mgg48bz/. I >> can get the scroll behavior I want by specifying my max-height as the >> height option when drawing the table, but then if the data would ordinarily >> take up much less vertical space than my max-height, it expands to fill it, >> which I don't want. Is there a way to get it to only take up as much space >> as needed, unless that space would exceed my max dimensions, and then have >> sensible scrollbars? >> >> -- >> 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-visua...@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/7a235027-ec05-468e-82e6-9bba9b44f8ea%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-visualization-api/7a235027-ec05-468e-82e6-9bba9b44f8ea%40googlegroups.com?utm_medium=email_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> > dlali...@google.com5CC, Cambridge 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 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/b29612b6-91dc-470e-8de7-a7650ef2b008%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[visualization-api] Table set maximum height
I know the Table visualization takes parameters for height and width, but what I really want is a parameter for max-height. I've tried not supplying a height parameter and just constraining the height of the enclosing div, but then if the table exceeds the div dimensions in both directions, I need to scroll down to the bottom of the table in order to find the horizontal scrollbar (this is on Chrome on a Linux desktop, and I don't have a horizontal scroll gesture -- I need to user the scrollbar), and the table header won't be fixed. Example at https://jsfiddle.net/0mgg48bz/. I can get the scroll behavior I want by specifying my max-height as the height option when drawing the table, but then if the data would ordinarily take up much less vertical space than my max-height, it expands to fill it, which I don't want. Is there a way to get it to only take up as much space as needed, unless that space would exceed my max dimensions, and then have sensible scrollbars? -- 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/7a235027-ec05-468e-82e6-9bba9b44f8ea%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[visualization-api] calculated sort column?
I have an underlying DataTable with discrete x-axis categories and multiple series. I'm using DataViews on top of that to generate column charts, so that users can select which series to display (including calculated series that may aggregate multiple source series in various ways). I want to provide the users with multiple sort options, including some based on calculated values, such as the maximum or minimum over all user-selected series, or the difference between the maximum and minimum of user-selected series. I can create a calculated column in my view that generates the values the user wants to sort on (though I wouldn't want to display such a column, so there doesn't seem to be an appropriate role for it), but I can't figure out how to sort on it -- getSortedRows seems to take only column indices from the base table, not calculated columns. Is there a way to do what I want? If not, can I put in a feature request for calculated sort columns? Thanks, Suzanne -- 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/9963c19d-7a77-4b50-997b-dec59d13aaa6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [visualization-api] calculated sort column?
Hi Daniel, If I don't want the calculated sort column to appear in my graph, what can I do? If it's included in my view, by default it will be shown as an additional series. The only other numeric role that seems to be available to me is interval, which is not what I want either. Is there a way to suppress its display? Suzanne On Wednesday, January 4, 2017 at 6:09:01 AM UTC-8, Daniel LaLiberte wrote: > > Hi Suzanne, > > I believe the getSortedRows() method should work with calculated columns > as well. Here is an example showing that it is working as I would expect: > https://jsfiddle.net/dlaliberte/fbkwmjjL/ > > Perhaps you have found a bug, but if so, we would need to see the details > of what you are doing. > > On Tue, Jan 3, 2017 at 7:58 PM, Suzanne Paley <suzann...@gmail.com > > wrote: > >> I have an underlying DataTable with discrete x-axis categories and >> multiple series. I'm using DataViews on top of that to generate column >> charts, so that users can select which series to display (including >> calculated series that may aggregate multiple source series in various >> ways). I want to provide the users with multiple sort options, including >> some based on calculated values, such as the maximum or minimum over all >> user-selected series, or the difference between the maximum and minimum of >> user-selected series. I can create a calculated column in my view that >> generates the values the user wants to sort on (though I wouldn't want to >> display such a column, so there doesn't seem to be an appropriate role for >> it), but I can't figure out how to sort on it -- getSortedRows seems to >> take only column indices from the base table, not calculated columns. Is >> there a way to do what I want? If not, can I put in a feature request for >> calculated sort columns? >> >> Thanks, >> Suzanne >> >> -- >> > -- > Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> > dlali...@google.com5CC, Cambridge 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 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/a428436a-2767-4787-b911-2d27d754e80b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [visualization-api] calculated sort column?
Thanks for your help. Creating a new view that contains only my calculated sort column, and then sorting my original view by setting its rows to be getSortedRows of the new view column works well for me, without being too disruptive to my existing code. E.g. https://jsfiddle.net/fbkwmjjL/1/ Suzanne On Wednesday, January 4, 2017 at 9:14:01 AM UTC-8, Daniel LaLiberte wrote: > > You could create yet another view that only lists the columns you do want > to use in the chart. If you are using a ChartWrapper, you can do this with > a 'view' property. > > We don't have a role to 'ignore' a column, though I can see that might be > useful. > > On Wed, Jan 4, 2017 at 12:10 PM, Suzanne Paley <suzann...@gmail.com > > wrote: > >> Hi Daniel, >> >> If I don't want the calculated sort column to appear in my graph, what >> can I do? If it's included in my view, by default it will be shown as an >> additional series. The only other numeric role that seems to be available >> to me is interval, which is not what I want either. Is there a way to >> suppress its display? >> >> Suzanne >> >> On Wednesday, January 4, 2017 at 6:09:01 AM UTC-8, Daniel LaLiberte wrote: >>> >>> Hi Suzanne, >>> >>> I believe the getSortedRows() method should work with calculated columns >>> as well. Here is an example showing that it is working as I would expect: >>> https://jsfiddle.net/dlaliberte/fbkwmjjL/ >>> >>> Perhaps you have found a bug, but if so, we would need to see the >>> details of what you are doing. >>> >>> On Tue, Jan 3, 2017 at 7:58 PM, Suzanne Paley <suzann...@gmail.com> >>> wrote: >>> >>>> I have an underlying DataTable with discrete x-axis categories and >>>> multiple series. I'm using DataViews on top of that to generate column >>>> charts, so that users can select which series to display (including >>>> calculated series that may aggregate multiple source series in various >>>> ways). I want to provide the users with multiple sort options, including >>>> some based on calculated values, such as the maximum or minimum over all >>>> user-selected series, or the difference between the maximum and minimum of >>>> user-selected series. I can create a calculated column in my view that >>>> generates the values the user wants to sort on (though I wouldn't want to >>>> display such a column, so there doesn't seem to be an appropriate role for >>>> it), but I can't figure out how to sort on it -- getSortedRows seems to >>>> take only column indices from the base table, not calculated columns. Is >>>> there a way to do what I want? If not, can I put in a feature request for >>>> calculated sort columns? >>>> >>>> Thanks, >>>> Suzanne >>>> >>>> -- >>>> >>> -- >>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> >>> dlali...@google.com 5CC, Cambridge 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 google-visualization-api+unsubscr...@googlegroups.com >> . >> To post to this group, send email to google-visua...@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/a428436a-2767-4787-b911-2d27d754e80b%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-visualization-api/a428436a-2767-4787-b911-2d27d754e80b%40googlegroups.com?utm_medium=email_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> > dlali...@google.com5CC, Cambridge 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 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/e47673ac-8e1a-4ba4-925a-f4657156bd5a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[visualization-api] display glitch in column chart on chrome when very large number of intervals
If a column chart has a very large number of intervals, I'm seeing a display glitch using Chrome (v.56.0.2924.87) on my Mac (OSX v.10.11.6). I don't see the same issue using Firefox on my Mac, nor using Chrome on Linux. Using the example at https://jsfiddle.net/nq9sngp0/2/, I've attached the images I'm seeing on both Chrome and Firefox. -- 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/56e21644-ce32-4d87-b0a2-e07a68479e7d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [visualization-api] display glitch in column chart on chrome when very large number of intervals
Restarting the browser seems to have helped. Sorry to bother you. Suzanne On Thu, Mar 9, 2017 at 9:08 PM, 'Daniel LaLiberte' via Google Visualization API <google-visualization-api@googlegroups.com> wrote: > I don't see a problem on my mac (10.12.3) in chrome (56.0.2924.87). I > can't imagine you would need to upgrade your mac os. Could it be a caching > issue? Restart your browser maybe? > > On Fri, Mar 10, 2017 at 12:02 AM, Suzanne Paley <suzanne.pa...@gmail.com> > wrote: > >> If a column chart has a very large number of intervals, I'm seeing a >> display glitch using Chrome (v.56.0.2924.87) on my Mac (OSX v.10.11.6). >> I don't see the same issue using Firefox on my Mac, nor using Chrome on >> Linux. Using the example at https://jsfiddle.net/nq9sngp0/2/, I've >> attached the images I'm seeing on both Chrome and Firefox. >> >> -- >> 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@googl >> egroups.com. >> Visit this group at https://groups.google.com/grou >> p/google-visualization-api. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/google-visualization-api/56e21644-ce32-4d87-b0a2-e07a68 >> 479e7d%40googlegroups.com >> <https://groups.google.com/d/msgid/google-visualization-api/56e21644-ce32-4d87-b0a2-e07a68479e7d%40googlegroups.com?utm_medium=email_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> > dlalibe...@google.com <dlalibe...@google.com> 5CC, Cambridge MA > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Google Visualization API" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/google-visualization-api/__dCebOMdXE/unsubscribe. > To unsubscribe from this group and all its topics, 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/CAOtcSJP_Ua7VZ6pjiQmT-3v7L% > 2BJJmehGkiqYiPOKSCb7JZcOFg%40mail.gmail.com > <https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJP_Ua7VZ6pjiQmT-3v7L%2BJJmehGkiqYiPOKSCb7JZcOFg%40mail.gmail.com?utm_medium=email_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CACA16xVR8Cn%3Dvfo8641GEvRZhzF_34Wx08zRROZO2q6__RN%2Bhw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.