7.7.0 Release October 1st, 2015 by Margaret Skomorokh
A lot of good things come in this grand package: AnyStock HTML5 release, 200+ Map Collection and Bubble Series for AnyMap, and new types of Tooltips along with the ability to multi-select points in AnyChart.
AnyStock 7.7.0 Features
|Stock Data Engine
We are proud to introduce anychart.data.Table, a data layer designed specifically to meet Stock and Financial Charts needs. Beside basic features like data streaming, data mapping, and transaction-based data flow, anychart.data.Table provides the ability to search and select data by DateTime intervals, which allows to implement custom UI elements based on this data.
Learn more about Stock Data Engine >>
Take a look at the Gallery sample >>
Good rendering performance is essential for Stock and Financial Charts, and AnyStock meets this requirement in full. Our performance tests show the ability to render 300,000 points in less than a second on an average PC. The data stream can append 10,000 data points in 100 milliseconds. You can test it yourself on the performance test page.
Take a look at the Speed Test page >>
This release of AnyStock includes basic chart and plot layout options and basic features (such as Scroller, Legend, and Value Highlighter), along with the Column, Line, and OHLC series types. If you are wondering where the technical indicators, other series types, event markers and drawings are, the answer is simple: in our roadmap! Check it out and see that we will catch up very fast. See the roadmap>>
AnyMap 7.7.0 New Features
Without geographical data, it is impossible to create a data visualization related to geographic areas. We are happy to introduce our new Map Collection. For the moment it contains 200+ country maps and one world map. We are planning to extend this collection, and, of course, the ability to create custom maps is available.
See Map Collection CDN Page >>
Take a look at the Map Collection in AnyChart Playground >>
Bubble maps (also known as Proportion maps) are usually used to display or compare quantitative data related to geographic areas, be it election results, sales statistics per region, or earthquake magnitude.
Take a look at the Map Gallery sample >>
Learn more about Bubble/Proportion maps >>
- No Comments »
Recap of the Week – 9/28/2015 September 28th, 2015 by Margaret Skomorokh
This week we have posted on AnyChart Facebook Page the following information on data visualization:
- Why Pinellas County is the worst place in Florida to be black and go to public school? See the interactive map.
- What a PErformance: some interesting data on Silicon Valley’s fortunes, visualized by The Economist.
- Is it possible to achieve a multi-layered storytelling with data? Take a look at these stylish diagrams by Accurat and learn how they were created.
- Where and when do people see UFOs? These interesting and well-designed UFO infographics are based on data coming from the National UFO Reporting Center.
Recap of the Week – 9/21/2015 September 21st, 2015 by Margaret Skomorokh
- What’s really warming the world? – a nice interactive chat that will help you to explore different factors contributing to global warming.
- Gloam.io – an interactive data visualization of sunrise, sunset, and twilight times. (You can also read an article explaining some interaction details in Gloam.io – http://bit.ly/1UQGsgn)
- Why we still need women’s equality day? – Take a look at this great infographic by TIME and learn some sad numbers.
- 17 Graphs That Are Way Too Real For Introverts.
AnyChart and Java Standard Widget Toolkit (SWT) September 15th, 2015 by Timothy Loginov
The Standard Widget Toolkit (SWT) is a graphical widget toolkit for use with the Java platform. It was originally developed by Stephen Northover at IBM and is now maintained by the Eclipse Foundation in tandem with the Eclipse IDE. It is an alternative to the Abstract Window Toolkit (AWT) and Swing Java GUI toolkits provided by Oracle as part of the Java Platform.
We have created a basic sample to show how you can work with AnyChart in an SWT application.
Contents and Launching
The sample file (click to download) contains the ‘src’ folder with the source code and the ‘jar’ file. You can run the file using the java -jar <jar_file_name> command.
In Mac OS X you can launch the sample like this:
java -XstartOnFirstThread -jar anychart-java-example.jar
In Windows you can do that like this:
java -jar anychart-java-example.jar
This sample shows a basic chart with five points. It listens for the chart draw and point hover events, and logs them into the textArea on the page; anychart.min.js is loaded from AnyChart CDN.
The ‘Add Random Point’ button keeps adding random points until the total point count is 20 and after then removes one point before adding a new one.
Source code is rather simple and self-descriptive, and there are only two things you should look at:
The static String myScript variable defines what script is executed when button is clicked;
The static String createHTML() method generates HTML and puts it into the browser window.
AnyChart and Java Standard Widget Toolkit (SWT) Sample: anychart-java-swt-example.zip
AnyChart Download: http://anychart.com/download/
AnyChart Documentation: http://docs.anychart.com/
AnyChart API: http://api.anychart.com/
Later we will extend the sample, add more features, and show how to achieve more with AnyChart in Java environment. We also have a number of other samples coming up.
Recap of the Week – 9/13/2015 September 14th, 2015 by Margaret Skomorokh
- Refugees/Migrants Emergency Response – This interactive infographic from The Office of the United Nations High Commissioner for Refugees (UNHCR) allows to see the scale of the refugee crisis in Europe, migration routes, and more.
- Parable of the Polygons – Parable of the Polygons is a playable segregation simulation based on the work of Nobel Prize-winning game theorist, Thomas Schelling. Play and learn how harmless choices can make a harmful world!
- 11 Awesome Data Visualizations Way Ahead Of Their Time – Explore data visualization history – check out 11 awesome data visualizations way ahead of their time.
Recap of the Week – 9/4/2015 September 4th, 2015 by Margaret Skomorokh
- A quick guide demonstrating how to save AnyChart 6 charts as images in Oracle APEX.
- This interactive map portraying Rennes Metropolis inhabitants is quite enjoyable to play around with. The visualization is based on 18 indicators including location of workplace, marital status, number of cars in the household, and so on. In addition, the initial data were cross-referenced, which makes the picture even more detailed!
- These two colorful infographics will help you to find out what insect venoms are made of and which insect’s sting is the most painful. But don’t worry – summer is over
- How Is Big Data Changing the World? – An article about Big Data in our everyday lives.
- 13 Helpful Diagrams For People Who Only Care About Cheese – “Knowledge is power: the power to eat more cheese” – there is nothing more to add to this. Enjoy the diagrams!
Saving AnyChart 6 Charts as Images in Oracle APEX September 2nd, 2015 by Timothy Loginov
NOTE: This article tells how to set up the script in Oracle APEX and doesn’t affect AnyChart customers who use AnyChart outside of Oracle APEX.
Oracle Application Express is a web-based application development tool integrated with all editions of Oracle Database. It enables users with limited programming skills to easily develop secure web applications that run inside their Oracle Database, and scale to support tens, hundreds, or thousands of users.
Since Oracle Application Express Release 3.0, AnyChart is used as a charting engine (you can read about this in a success story: Oracle Chooses AnyChart Solution for Latest Release of Oracle® Application Express).
One of the nice features available in AnyChart since version 4.1.0 is the ability to save a Flash chart as an image – in order to make it possible, we have to use a server-side script, which is hosted on the AnyChart.Com site by default (read more about saving charts as images in AnyChart 6).
Federico Bonifazi from Geko Sistemi Informativi s.r.l. shared a solution that allows to save charts as images on the server side. We are very thankful for that and present it here for anyone who wants to do the same. This tutorial is very basic and is not a ready-to-go solution, but it gives the general idea, so you can use it to break ground on your project.
This configuration in based on Oracle Standard Edition on a Linux server, Oracle Rest and Tomcat are used.
Recap of the Week – 8/23/2015 August 29th, 2015 by Margaret Skomorokh
- Android Fragmentation Report – Fragmentation is both a strength and weakness of the Android ecosystem, a headache for developers that also provides the basis for Android’s global reach. This visualization demonstrates the scale of the problem.
- Mapping Migration in the United States – In this interactive map by The Upshot, you can find detailed information on how often Americans migrate from their states of birth. (Each shape represents where the people living in a state were born. Within a state, larger shapes mean a group makes up a larger share of the population.)
- How People Engage with Data Visualisations and Why It Matters – An article by Helen Kennedy, Professor of Digital Society at the University of Sheffield, explaining what is visualization literacy and what skills it requires.
Data visualization is a rapidly growing Internet industry rooted almost in any aspect of our life. As far as visualization is one of the most effective ways of presenting information, every presentation and every information dashboard requires visual information. Moreover, a well-designed dashboard makes any web page look even better, be it a personal blog or website of a big company.
This article highlights the basics of using AnyChart in WordPress – one of the most popular content management systems. You can easily add a dashboard or a chart in your post, making it more appealing and helping your storytelling.
Adding AnyChart to a WordPress Post
Note: A chart container may be of any size. However, if there are no style settings for the container and it has zero height and zero width, the chart will be added, but it will not be seen. So do not forget to set container size.
You can open your WordPress blog right now, copy paste the code below and try it yourself:
<!-- Step 1: link AnyChart from AnyChart CDN -->
<!-- Step 2: Create chart container -->
<div id="container" style="width:700px;height:600px;"></div>
<!-- Step 3: Write a script to create a chart -->
var chart = anychart.pie([ // create an instance of a pie chart with data
["Crêpe Suzette", 2],
["American blueberry", 2],
chart.title('Top 5 pancake fillings');
chart.container('container'); //chart container id
chart.draw(); // initiate chart display
That’s basically all you need to to! Could it be easier? Now the page is ready to be published, but do not forget to preview it and make sure that everything looks fine and there are no mistakes in the data.
The <script> tag with data should not contain any empty lines! If there are any, WordPress will replace them with the <p> tag, and the data may be corrupted. Read below to learn how to avoid this.
Disabling Smart Insert
The way of integrating AnyChart from the sample above is quite convenient. But in most cases we may need a little bit more. Just dividing data into paragraphs may help in seeing what is right and what is not, and simple comments are very desirable in some cases. It doesn’t take much to achieve it: WordPress provides you with a number of plugins allowing to disable smart insert (which messes with your code in the first place). You can use, for example, the “Raw HTML” plugin or any other – it doesn’t matter which one you choose. After activating your plugin, wrap the script in the tags specified by the plugin developers (you will need the [raw]…[/raw] tag in case you choose the “Raw HTML” plugin). Then you are free to use any number of empty lines you want and insert comments and notes. It will make no difference in terms of visualization, but it may be of a great help in adjusting and debugging the chart.
Referencing the Script in the Head of a Page
AnyChart.js can be referenced in any part of a page, but we recommend to add the link to the head tag of your blog if you are going to use charts regularly. There are quite a few plugins (like this one) for inserting scripts into the head section, and in some themes you may need to work with wp_head.
You can download the component at http://anychart.com/download/
Recap of the Week – 8/23/2015 August 24th, 2015 by Margaret Skomorokh
- Place Poetry – a playful mobile application which enables people to arrange strangely named cities into poems, while simultaneously plotting the location and distance of their journey.
- This neat interactive chart by The Guardian gives you the detailed information about gay rights in the US, state by state. It is definitely an example of a good data visualization (though the information is out-of-date).
- Stuff in Space is a realtime 3D map of objects in Earth orbit. One thing is to know how much stuff there is, and another thing is to see it with your own eyes.