Does this work?
Tuesday, September 15, 2009
Sunday, April 26, 2009
VisiFire: Open Source Graph designer for WPF and Silverlight
I once was designing a program to draw charts in my WPF applications. I finally managed to build a Canvas in which I drawed all my coordinates to finally render a line graph. But to completely build that Canvas and made it auto-scale to my available space, it costed me days to build that. But those are over, thanks to Visifire.
Visifire is a set of open source data visualization components - powered by Microsoft Silverlight and WPF. Visifire is a multi-targeting control which can be used in both WPF & Silverlight applications. Using the same API, charts in both Silverlight & WPF environments can be created within minutes.
Full Feature List:
- Visually Stunning Animated Charts
- Creates cool Silverlight™ & WPF Charts within minutes.
- Single API for both Silverlight™ & WPF
- Visifire is multi-targeting control.
- Knowing a single API will suffice to draw charts in both Silverlight™ & WPF.
- Embed into Desktop or Web Applications
- Visifire can be used in Desktop Applications(WPF) as well as in Web Applications(Silverlight™ or WPF Browser Apps).
- Compatible with Microsoft® Expression® Blend™
- All Visifire charts are editable in Blend™. Hence, users are free to design charts of their choice with adeptness of Blend™.
- Real time Charts / Live Update
- All properties of Visifire Charts can be updated in real time using Managed Code or Javascript.
- Dual License - Open Source & Commercial
- Open Source ensures that everyone has free access to the source code.
- Commercial License enables one to embed "Industrial Strength Community Tested Code" into commercial applications.
- Commercial Licenses are perpetual. Perpetual licensing model eliminates the need for periodic renewals.
- Independent of server side technology
- Visifire can be used with ASP, ASP.NET, PHP, JSP, Coldfusion, Ruby on Rails or just simple HTML.
- Enterprise grade features for Commercial Licensees
- Ticket based priority support (24 hrs Maximum Turn Around Time Guaranteed)
- Custom Development
- Hotfixes / Emergency Patches
- Power Features
- Supports Interactivity
- Has Elegant Animations
- Scrollable Charts
- Supports Global Styles
- Supports Wide Range of Charts
- Column Charts
- Line Charts
- Area Charts
- Pie Charts
- Bar Charts
- Area Charts
- Doughnut Charts
- Stacked Charts
- Bubble Charts
- Scatter Charts
- Combination Charts
Posted by Bernd van Velsen at 1:37 PM 0 comments
Labels: Chart, Graph, Open Source, VisiFire, WPF
Saturday, April 25, 2009
very simple ObservableCollection tutorial
an ObservableCollection is a dynamic collection where items can be added, removed or be updated with an automatic notification of actions.
I will demonstrate how this works in a very simple example:
All i have is a window with a Button a TextBox and a ListView and each time you click the Button the text of the Textfield is added to the collection and the ListView gets updated automatically.
Code file:
public partial class Window1 : Window
{
private ObservableCollection<String> names = new ObservableCollection<String>();
public Window1()
{
InitializeComponent();
listView1.ItemsSource = names;
}
private void button1_Click(object sender, RoutedEventArgs e)
{
names.Add(textBox1.Text);
}
}
All you need to do is set the ItemsSource of you ListView to the ObservableCollection with
listView1.ItemsSource = names;
and then add your text with the Add() Method of the ObservableCollection.
names.Add(textBox1.Text);
XAML File:<Window x:Class="Observablecolection.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300">
<Grid>
<ListView Margin="138,6,10,8" Name="listView1"/>
<Button Height="53" HorizontalAlignment="Left" Margin="14,17,0,0" Name="button1" VerticalAlignment="Top" Width="113" Click="button1_Click">Button</Button>
<TextBox HorizontalAlignment="Left" Margin="12,118,0,110" Name="textBox1" Width="123" />
</Grid>
</Window>
Posted by Bernd van Velsen at 10:43 AM 0 comments
Labels: ItemsSource, ObservableCollection
Welcome to my WPF blog
Welcome to this new blog about WPF.I know there are already a lot of blogs about WPF but I stumble upon specific problem now and then when I design WPF applications. and therefore I will try to post as many solution to my problems as I can. And hopefully help people that stumbled upon the same problem as I did.
Posted by Bernd van Velsen at 9:50 AM 0 comments
Labels: Introduction, Welcome