Visifire 2.2.1 released with one new feature

admin

Today we are releasing 2.2.1 with one new feature. As mentioned in the previous blog, Visifire 2.2.0 allows one to select a DataPoint using mouse or programmatically from Managed Code/JavaScript. But it is limited to one DataPoint per DataSeries. Now Visifire 2.2.1 gives you the ability to select multiple DataPoints.

In order to be able to select multiple DataPoints, you need to set the “SelectionMode” property to “Multiple” in DataSeries. By default SelectionMode will be set to “Single”.

image

Below is the XAML that I used.

<vc:Chart xmlns:vc="clr-namespace:Visifire.Charts;assembly=SLVisifire.Charts"
                    Width="500" Height="300" Theme="Theme1" BorderBrush="Gray" 
                    Padding="8" View3D="True">

            <vc:Chart.Titles>
                <vc:Title Text="Product Sales - 2008"/>
            </vc:Chart.Titles>

            <vc:Chart.Series>
                <vc:DataSeries RenderAs="Pie" SelectionEnabled="True" 
                               SelectionMode="Multiple" Bevel="False" 
                               LabelText="#AxisXLabel, #YValue" LabelStyle="Inside"  >
                    <vc:DataSeries.DataPoints>
                        <vc:DataPoint AxisXLabel="USA" YValue="320"/>
                        <vc:DataPoint AxisXLabel="UK" YValue="260"/>
                        <vc:DataPoint AxisXLabel="Germany" YValue="180"/>
                        <vc:DataPoint AxisXLabel="France" YValue="120"/>
                        <vc:DataPoint AxisXLabel="Others" YValue="158"/>
                    </vc:DataSeries.DataPoints>
                </vc:DataSeries>
            </vc:Chart.Series>
            
</vc:Chart>

Apart from SelectionMode property, we have made one more enhancement. Now Selecting/Deselecting a DataPoint programmatically or by mouse causes the DataPoint to Explode/Implode in turn. But it doesn’t work the other way around. As a result of which, Exploded property works independently.

Below is the summary of this release:

New Features:

  1. SelectionMode property has been added at the DataSeries level – which allows you to make multiple selection.

Enhancements:

  1. Selecting/Deselecting a DataPoint in turn causes the DataPoint to Explode/Implode.

Bug Fixes:

  1. Chart used to throw exception whenever there is no DataPoint in the DataSeries.

You can download 2.2.1 here.

- Team Visifire


Comments

  1. poweryang1
    May 21st, 2009 | 9:12 pm

    Thanks a lot.

    It’s a fantastic component!

    It is very useful for me.

  2. sanket
    September 8th, 2009 | 2:59 am

    I want that the slice in pie chart should not be exploaded.

    Even putting Exploded=”false” i am able to explode the slice.

    Please help me not to explode the slice.

Leave a reply