Thanks for providing your code and data.  It really helps us to find out
what Google Charts users are doing.

Since you are now generating the chart asynchronously, you need to wait for
the 'ready' event to find out when the chart is done drawing.

It appears we are generating tooltip text even if you have turned off
interactivity, which we should fix.  It looks like you should be able to
disable tooltips further if you add this to your options:

  tooltip: { trigger: 'none' }

I get about a 25% improvement from that.  Another chunk of time is spent
formatting the domain data anyway, even without tooltips.  We can made this
a bit faster, reducing the formatting to half a second with this:

var formatter = new google.visualization.NumberFormat({pattern: ''});
                        formatter.format(data, 0);

But you could eliminate this if you just generate your data in this form
for each cell value: {v: value, f: ''}

Another larger chunk of time, about half the remaining time, is consumed
generating the invisible accessibility table.  We don't have a way of
disabling this table because it is for the benefit of the user.  However,
we will provide an option to disable this feature, defaulting to false.
Ideally, we need to find a way to detect whether the user would prefer the
accessibility table instead of the generated chart.  The above hack to
specify the formatted representation of data values as empty strings will,
of course, conflict with the generation of the accessibility table, so we
would prefer to avoid that.

These are the highest priority issues regarding performance that we need to
address.  After we take care of these, there will certainly be other issues.

I've attached the modified SkewChart.html code.



On Mon, Mar 9, 2015 at 12:24 PM, Dale Cox <[email protected]> wrote:

> Hi Daniel,
>
> You can check out the page here -
>  http://dalecox.github.io/DNA_Analysis/samples/SkewChart.html
> <http://dalecox.github.io/DNA_Analysis/samples/SkewChart.html>
>   I haven't cross browser tested, so for best results I would recommend
> running in Chrome.
> You'll need this data set -
> http://dalecox.github.io/DNA_Analysis/samples/largerData.txt
>
> In my case I don't think I really need the table just the visualization or
> if there was an option to only get table when needed that would be great.
>
> Thanks for all your help,
> Dale
>
>>
>>   --
> 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/d/optout.
>



-- 
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/d/optout.

<<< text/html; charset=US-ASCII; name="SkewChart.html": Unrecognized >>>

Reply via email to