Visifire for SharePoint now supports Drilldown. This functionality allows you to get more detailed data when a DataPoint is clicked in the Chart. For more info please check out the documentation here.
You can download Visifire for SharePoint 1.0.5-1 GA here.
You know that we are working on optimizing the performance of charts. I am happy to share that we are done optimizing the overall performance of the charts – QuickLine chart to start with. Both initial render (drawing chart for the first time) & real-time render (updating chart in real-time) are now blazing fast. With these changes, Visifire is one of the fastest Silverlight charts! This blog contains benchmark figures & samples to corroborate our claim.
You’d feel the need of faster charts only when there is high number of datapoints. For less datapoints any charting component would suffice. Time taken by a component to plot datapoints on a chart for the first time (initial render) is a key metric to decide the performance. We did a small exercise to calculate the number of datapoints a charting component could draw in one second. For comparison we are using Visiblox, a fairly quick chart from Scott Logic. We supplied 10,000 through 50,000 datapoints to both charting components. We repeated the exercise to get 10 sample figures. Later, took an average to find out the number of datapoints that could be drawn in a second. Visifire could draw anywhere between 14,500 to 13,200 datapoints in a second. Whereas Visiblox could draw a maximum of 6,800 datapoints & the performance degraded drastically as the datapoints increased. Below are the benchmark figures:
Note: More the datapoints per second, faster the chart.
Embedded below is the application used to calculate the benchmark figures. You can play around with it & decide who is fast!
Note: Lesser the time taken, faster the chart.
Measuring framerate is a good way of finding the real-time rendering performance of a chart. We have just borrowed some samples from Visiblox post. You can play around with the following sample & decide who is fast!
Note: More the frames per second, faster the chart.
The source code of the above samples is available in these archives [sample1, sample2] for you to verify. The samples don’t contain charting libraries & are to be downloaded separately. Feel free to comment on this exercise.
Fire up your imagination!
Microsoft has announced that the forthcoming version of its Windows Phone operating system, code-named Mango, has brought over 500 new features, most notably:
- Search – location specific, visual voice music search.
- Dynamic – more control over live tiles.
- Social – social networking with Linked In and Twitter.
- Web – better browsing with hardware acceleration and IE9.
- Groups – group people together friends, colleagues, family.
- Multitasking – switching between apps is now a breeze.
Microsoft is accepting and certifying Mango apps through the App Hub, new and existing titles optimized for Mango features will begin publishing soon.
We are happy to inform that our Visifire controls are Mango compatible. This means your WP7 applications using Visifire can make use of new features like multitasking and hardware acceleration, with which they will not only work faster but also make the user experience better.
We are delighted to release a WP7 App to showcase Visifire charts & gauges. As you already know Visifire supports WP7. This App is to let you quickly try how Visifire controls run on WP7. Click here to download the App. Embedded below is a video tour of the App.
We are excited about this App. Please give it a spin & let us know your feedback.
Update: The last date to submit videos has been extended to 31st of July. We received requests for extension of contest date as many are on Summer vacation.
You like Visifire & have been candid about it. Why not say it on camera or show a feature that you love? All you have to do is a short video on Visifire to win Apple iPad 2 3G! That’s not it. Next 5 best videos get complimentary developer licenses of Visifire worth $2,500.
Embedded below is one of the iPad winning videos:
Now some simple guidelines. We’d like you to do either or both of the following:
- You facing the camera & talking about Visifire (like testimonial)
- You showing how you use Visifire in your application (like screencast)
Please try to comment on the specific features that you like in Visifire. Questionnaire below should help you get started:
- What were your perceptions before you started using Visifire and were you reluctant in any way?
- How did you feel as a result of using the Visifire?
- What specific results did you get as a result of using the Visifire?
The video should be under 3 minutes. Upload the video to YouTube.com. Use the strings “Silverlight, WPF, WP7 Charts & Gauges” in the name, description & tags of the video. To enter the contest send a mail to firstname.lastname@example.org with the link to video, your full name, organization* & title*. Please send in your responses by 15th July 2011. Winners will be announced here in our blog.
US Sales: +1 (408) 600-0544 (Monday – Friday 8 am – 5 pm EST)
UK/EU Sales: +44 20-81-23-1250 (Monday – Friday 10 am – 5 pm GMT)
PS: By entering the contest you agree that you’ll maintain the video live & Visifire reserves the right to publish the video from its account in case the video goes offline.
We showcased the use of Visfire in WP7 (Windows Phone 7) way back a year ago. Since then we concentrated much on increasing the chart types & also introduced gauges. Now that the adoption of WP7 is increasing we are getting serious on WP7. This release contains gesture support for WP7. It supports gestures like pinch-zoom, panning and selection.
Embedded below is a short video showcasing gesture support in Visifire for WP7.
This release is just the beginning. Going forward, we are channelizing our energy to make the charting experience on WP7 even smoother & richer. Coming soon are:
- Selection of a group of DataPoints
- Tooltips on multi-touch
- Controls optimized for resource constraint devices like phone
And there came Windows Phone 7 (WP7). WP7 applications were to be written in Silverlight. We soon released WP7 charts. Everyone was happy. Soon started the GPL & WP7 Marketplace confusion. We started to feel the heat – our help desk was inundated with queries from users who were not sure if they could use Visifire in their applications. Lost several customers to “commercial only” competitors. One couldn’t have used Visifire in WP7 applications as it is GPLed. Microsoft has explicitly mentioned GPL in the excluded license. Refer: Section 1.l & 5.e of Windows Marketplace Application Provider Agreement. With Microsoft partnering with Nokia the space could only get bigger & better. We could no longer continue losing users & customers. We succumbed & dropped GPL!
With this release Visifire introduces Spline Chart. A Spline Chart is similar to a Line Chart except that it draws a fitted curve through the data points. The spline interpolation and smoothing is for improved presentation of data. It allows one to take a limited set of known data points and approximate transitional values.
Demoed below is Messi’s path to glory!
- Visit documentation on how to create a Spline Chart.
- Visit Gallery for more Spline Chart samples.
- Download the latest version of Visifire here.
With this release Visifire introduces Radar Chart. A Radar Chart is a graphical method of displaying multivariate data in the form of a two-dimensional chart of three or more quantitative variables represented on axes starting from the same point. Radar Chart is also known as Web, Spider or Star Chart.
Shown below is the goals scored by top countries in FIFA World Cups 2006 & 2010 (till date).
- Visit documentation on how to create a Radar Chart.
- Visit Gallery for more Radar Chart samples.
- Download the latest version of Visifire here.
Exporting Silverlight charts to images has been the most coveted feature. In this tutorial, I am going to show you to export Visifire Silverlight chart as image from managed code. So before we start lets check out the live example below.
Create a “Silverlight Application” project. Download the latest Visifire binaries from here. Extract the Zip file and add reference for the file named “SLVisifire.Charts.dll”. In this sample, I am going to use WriteableBitmap class in order to extract the pixel wise color information of the chart rendered inside Silverlight content. We will take help of JpegEncoder provided by a third party library called FJ.Core to encode the raster information to file stream.
Please download FJ.Core library from here and add the FJ.Core.dll as reference to the project.
Below are the steps that we are going to follow.
- Construct the Chart XAML inside MainPage.xaml.
- Exporting Chart as image.
Constructing Chart XAML
Open MainPage.xaml page, add a Chart and a button inside it as shown below:
Exporting Chart as image
Now open MainPage.xaml.cs page and add the following namespaces.
Now attach an event handler for Click event of Button inside the Page constructor.
Inside the ButtonSave event handler declare a function called SaveToImage() which will accept Chart as parameter as shown above.
Now inside the function definition, create a WriteableBitmap out of a Chart and collect the raster information from it. Then encode the raster information to file stream using JpegEncoder present in FJ.Core library as shown below. Finally save the file stream as image into hard drive.
You can download the complete solution here
(Hat tip to Visifire user Sagi Karni, Intel Corp)