{"id":119,"date":"2012-11-13T03:12:48","date_gmt":"2012-11-13T07:12:48","guid":{"rendered":"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/"},"modified":"2015-05-12T01:34:31","modified_gmt":"2015-05-12T01:34:31","slug":"9-tips-for-anystock-best-performance","status":"publish","type":"post","link":"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/","title":{"rendered":"9 Tips for AnyStock Best Performance"},"content":{"rendered":"<p>AnyChart Stock and Financial Charts, our tool for visualizing time-based data, is sophisticated and fast at the same time &#8211; but with some simple tricks, you can improve its performance even more. Here are nine tips for AnyStock best peformance with the links to detailed instructions and samples in our documentation:<\/p>\n<p><b>1.<\/b> When you have thousands of points on the chart, it is a good idea to use data grouping. Ungrouped data always slows the chart due to the fact that you actually have thousands of objects added to the plot. Grouping limits the number of objects displayed and keeps the ability to zoom in and see actual data.<\/p>\n<p><b>2.<\/b> Ungrouped data is particularly slow when you have a lot of peaks (i.e. sets like <i>(1,-1,1,-1,1,1&#8230;)<\/i> with more than a thousand of points). The reason is Flash poor performance with drawing vertical lines. This problem can be solved by turning on grouping, but please do not forget that the scroller thumbnail series always shows ungrouped data, so it is better to turn it off. To learn how to do it, please see: <a href=\"http:\/\/6.anychart.com\/products\/stock\/docs\/users-guide\/scroller-data-binding.html#using-without-data\" target=\"_blank\" rel=\"nofollow\"> Scroller without Data Provider<\/a>.<\/p>\n<p>If you operate &#8220;peaky&#8221; data sets, by the same reason a Stick series performs better than a Bar series, Line \u2014 even better than Stick, and the utmost performance can be reached with a Marker series.<\/p>\n<p><b>3.<\/b> Using live update options, you should be careful with the number of technical indicators &#8211; due to their nature they are recalculated when new data arrives and sometimes may slow things down. However, calculation takes only 10% of time, and 90% is consumed by redrawing, so you should note this only when data set has more than 10.000 points and you are using more than 10 indicators.<\/li>\n<p><b>4.<\/b> The best timestamp format is <i>%T<\/i> since it is not converted on a data set parsing stage and  is used as is. The  <i>%u<\/i> timestamp format is good too. All &#8220;normal&#8221; date\/time formats slow the performance down because they need to be converted into <i>%T<\/i> before  being used by the internal data storage. See more: <a href=\"http:\/\/6.anychart.com\/products\/stock\/docs\/users-guide\/data-set-input-data-settings.html#timestamp-samples-milliseconds\" target=\"_blank\" rel=\"nofollow\"> Timestamps in Milliseconds<\/a>.<\/p>\n<p><b>5.<\/b> If you are using live update with the <a href=\"http:\/\/6.anychart.com\/products\/stock\/docs\/users-guide\/whtml-data-streaming.html#data-manipulation-appendData\" target=\"_blank\" rel=\"nofollow\">appendData() method<\/a>, it is better to do, for example, one update with 5 rows each 10 seconds, rather than five updates with 1 point each 2 seconds.<\/p>\n<p><b>6.<\/b> Annotations slow the rendering down when you have more than a hundred of them on a chart (this will be improved in the future versions).<\/p>\n<p><b>7.<\/b> In case of a bad mouse-over experience, you may consider dropping the use of the  <a href=\"http:\/\/6.anychart.com\/products\/stock\/docs\/users-guide\/legend-series-labels.html#series-icon\" target=\"_blank\" rel=\"nofollow\">{%SeriesIcon}<\/a> token in the legend and use either text coloring or a UTF full block (U+2588) symbol.<\/p>\n<p><b>8.<\/b> If the Scroller responsiveness is poor, try to use the former without a data provider. To learn how, see the sample XML: <a href=\"http:\/\/6.anychart.com\/products\/stock\/docs\/users-guide\/scroller-data-binding.html#using-without-data\" target=\"_blank\" rel=\"nofollow\">Scroller without Data Provider<\/a>.<\/p>\n<p><b>9.<\/b> If you are using ungrouped data, and the mouse-over performance is poor, please check if markers are enabled and consider disabling them.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>AnyChart Stock and Financial Charts, our tool for visualizing time-based data, is sophisticated and fast at the same time &#8211; but with some simple tricks, you can improve its performance even more. Here are nine tips for AnyStock best peformance with the links to detailed instructions and samples in our documentation: 1. When you have [&hellip;]<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,4],"tags":[],"class_list":["post-119","post","type-post","status-publish","format-standard","hentry","category-anystock","category-tips-and-tricks","wpautop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>9 Tips for AnyStock Best Performance | AnyChart News<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"9 Tips for AnyStock Best Performance | AnyChart News\" \/>\n<meta property=\"og:description\" content=\"AnyChart Stock and Financial Charts, our tool for visualizing time-based data, is sophisticated and fast at the same time &#8211; but with some simple tricks, you can improve its performance even more. Here are nine tips for AnyStock best peformance with the links to detailed instructions and samples in our documentation: 1. When you have [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/\" \/>\n<meta property=\"og:site_name\" content=\"AnyChart News\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/AnyCharts\" \/>\n<meta property=\"article:published_time\" content=\"2012-11-13T07:12:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-05-12T01:34:31+00:00\" \/>\n<meta name=\"author\" content=\"Margaret Skomorokh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@AnyChart\" \/>\n<meta name=\"twitter:site\" content=\"@AnyChart\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Margaret Skomorokh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/\"},\"author\":{\"name\":\"Margaret Skomorokh\",\"@id\":\"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/e069e5f63e2e5aee4b0f36063994f555\"},\"headline\":\"9 Tips for AnyStock Best Performance\",\"datePublished\":\"2012-11-13T07:12:48+00:00\",\"dateModified\":\"2015-05-12T01:34:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/\"},\"wordCount\":484,\"commentCount\":0,\"articleSection\":[\"AnyStock\",\"Tips and Tricks\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/\",\"url\":\"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/\",\"name\":\"9 Tips for AnyStock Best Performance | AnyChart News\",\"isPartOf\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/#website\"},\"datePublished\":\"2012-11-13T07:12:48+00:00\",\"dateModified\":\"2015-05-12T01:34:31+00:00\",\"author\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/e069e5f63e2e5aee4b0f36063994f555\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.anychart.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"9 Tips for AnyStock Best Performance\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.anychart.com\/blog\/#website\",\"url\":\"https:\/\/www.anychart.com\/blog\/\",\"name\":\"AnyChart News\",\"description\":\"AnyChart JS Charts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.anychart.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/e069e5f63e2e5aee4b0f36063994f555\",\"name\":\"Margaret Skomorokh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e9f32e1f879d35eb4a0f3e9c89d4a1f7dcfb99f4014044b50b6a2f3ae7fd4882?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e9f32e1f879d35eb4a0f3e9c89d4a1f7dcfb99f4014044b50b6a2f3ae7fd4882?s=96&r=g\",\"caption\":\"Margaret Skomorokh\"},\"url\":\"https:\/\/www.anychart.com\/blog\/author\/margaret-skomorokh\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"9 Tips for AnyStock Best Performance | AnyChart News","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/","og_locale":"en_US","og_type":"article","og_title":"9 Tips for AnyStock Best Performance | AnyChart News","og_description":"AnyChart Stock and Financial Charts, our tool for visualizing time-based data, is sophisticated and fast at the same time &#8211; but with some simple tricks, you can improve its performance even more. Here are nine tips for AnyStock best peformance with the links to detailed instructions and samples in our documentation: 1. When you have [&hellip;]","og_url":"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/","og_site_name":"AnyChart News","article_publisher":"https:\/\/www.facebook.com\/AnyCharts","article_published_time":"2012-11-13T07:12:48+00:00","article_modified_time":"2015-05-12T01:34:31+00:00","author":"Margaret Skomorokh","twitter_card":"summary_large_image","twitter_creator":"@AnyChart","twitter_site":"@AnyChart","twitter_misc":{"Written by":"Margaret Skomorokh","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/#article","isPartOf":{"@id":"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/"},"author":{"name":"Margaret Skomorokh","@id":"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/e069e5f63e2e5aee4b0f36063994f555"},"headline":"9 Tips for AnyStock Best Performance","datePublished":"2012-11-13T07:12:48+00:00","dateModified":"2015-05-12T01:34:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/"},"wordCount":484,"commentCount":0,"articleSection":["AnyStock","Tips and Tricks"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/","url":"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/","name":"9 Tips for AnyStock Best Performance | AnyChart News","isPartOf":{"@id":"https:\/\/www.anychart.com\/blog\/#website"},"datePublished":"2012-11-13T07:12:48+00:00","dateModified":"2015-05-12T01:34:31+00:00","author":{"@id":"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/e069e5f63e2e5aee4b0f36063994f555"},"breadcrumb":{"@id":"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.anychart.com\/blog\/2012\/11\/13\/9-tips-for-anystock-best-performance\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.anychart.com\/blog\/"},{"@type":"ListItem","position":2,"name":"9 Tips for AnyStock Best Performance"}]},{"@type":"WebSite","@id":"https:\/\/www.anychart.com\/blog\/#website","url":"https:\/\/www.anychart.com\/blog\/","name":"AnyChart News","description":"AnyChart JS Charts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.anychart.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/e069e5f63e2e5aee4b0f36063994f555","name":"Margaret Skomorokh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e9f32e1f879d35eb4a0f3e9c89d4a1f7dcfb99f4014044b50b6a2f3ae7fd4882?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9f32e1f879d35eb4a0f3e9c89d4a1f7dcfb99f4014044b50b6a2f3ae7fd4882?s=96&r=g","caption":"Margaret Skomorokh"},"url":"https:\/\/www.anychart.com\/blog\/author\/margaret-skomorokh\/"}]}},"_links":{"self":[{"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/posts\/119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/comments?post=119"}],"version-history":[{"count":2,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/posts\/119\/revisions"}],"predecessor-version":[{"id":327,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/posts\/119\/revisions\/327"}],"wp:attachment":[{"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/media?parent=119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/categories?post=119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/tags?post=119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}