Visifire v2.0.5 beta Released

Chirag

Hi,

This release contains fixes for the following bugs:

  • Chart threw exception during serialization in WPF.
  • Color property of DataPoint/DataSeries did not work if set from Style.
  • Properties – Background, BorderThickness of Legend did not work in Silverlight.
  • If AxisXLabel was long & Enabled property of AxisX was set to false, extra space appeared to the left of Chart.
  • If RenderAs property was changed from Column to Line & back to Column, ColorSet failed to apply colors.

Current release also contains the following enhancements:

  • If MarkerEnabled is set to false, instead of disabling, markers are hidden so that ToolTip is displayed. This is essential as ToolTip derives data from markers & if markers are disabled ToolTip would not show for Line Charts.
  • ToolTip can be customized. Properties like FontColor, Size, Background etc. can be defined by user. Style for ToolTip can be defined in chart XAML or in a custom theme file. As this feature warranted some code inclusion, the size of .xap has grown from 199KB to 203KB.
  • Initial loading of chart is faster, as render logic is optimized.

Download Visifire v2.0.5 beta here. Updated documentation can be found here.

Cheers,
Team Visifire


Visifire v1.5.8 released

Chirag

Hi,

As promised we are supporting both Visifire 1.x & Visifire 2.x in parallel. In this release of Visifire 1.x series, we have added Date support for AxisX. One of our premium customer got this feature developed. Now, we are releasing it to public. We have introduced new property – XValueType in AxisX, it can be either Numeric or DateTime. Interval Type for the AxisX is Day. Date can be set to property – XValue of DataPoint. Date can be formatted using property – ValueFormatString of AxisX.

Visifire Chart with Date Axis

Visifire Chart with Date Axis

Below is the Managed Code Snippet using Date support for AxisX.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Visifire.Charts;
using Visifire.Commons;

namespace ChartApp
{
    public partial class Page : UserControl
    {
        public Page()
        {
            InitializeComponent();
            CreateChart();
        }
        private void CreateChart()
        {
            Chart chart = new Chart();
            chart.Height = 300;
            chart.Width = 500;

            // Creating AxisX
            AxisX axisX = new AxisX();
            axisX.XValueType = XValueTypes.DateTime;

            // Date time standard format
            axisX.ValueFormatString = "d/M/yyyy";

            // To avoid auto skip
            axisX.Interval = 1;
            chart.Children.Add(axisX);

            //Creating DataSeries
            DataSeries dataSeries = new DataSeries();
            dataSeries.RenderAs = "Column";

            // Adding 1st DataPoint
            DataPoint dp = new DataPoint();
            dp.XValue = new DateTime(2008,2,1);
            dp.YValue = 345;
            dataSeries.Children.Add(dp);

            // Adding 2nd DataPoint
            dp = new DataPoint();
            dp.XValue = new DateTime(2008, 2, 4);
            dp.YValue = 222;
            dataSeries.Children.Add(dp);

            // Adding 3rd DataPoint
            dp = new DataPoint();
            dp.XValue = new DateTime(2008, 2, 20);
            dp.YValue = 533;
            dataSeries.Children.Add(dp);

            // Adding DataSeries to Chart
            chart.Children.Add(dataSeries);
            this.LayoutRoot.Children.Add(chart);
        }
    }
}

Below is the XML Snippet using Date support for AxisX.
<vc:Chart xmlns:vc=”clr-namespace:Visifire.Charts;assembly=Visifire.Charts” Theme=”Theme1″>
<vc:Title Text=”Date Axis”/>
<vc:AxisX XValueType=”DateTime” ValueFormatString=”d/M/yyyy” Interval=”1″/>
<vc:DataSeries RenderAs=”Column”>
<vc:DataPoint XValue=”2/1/2008″ YValue=”345″/>
<vc:DataPoint XValue=”2/4/2008″ YValue=”222″/>
<vc:DataPoint XValue=”2/20/2008″ YValue=”533″/>
</vc:DataSeries>
</vc:Chart>

Download Visifire v1.5.8 here.

Cheers,
Team Visifire


Visifire v2.0.4 beta Released

Chirag

Hi,

This release contains fixes for the following bugs:

1. CPU usage spiked up when events – MouseEnter/MouseLeave attached to elements – DataPoint/DataSeries for property – Color, were fired.
2. Axis-X disappeared & DataPoints’ position went wrong when, XValue of first DataPoint was changed.
3. Interactivity – Exploded did not function as expected, if MouseEvents were attached for Chart type – Pie/Doughnut.
4. KeyNotFoundException was not handled.
5. Property – MarkerBorderColor did not work for line chart.
6. Nullable properties were not handled from Javascript.
7. Element – Title did not take default alignment in WPF.
8. Chart threw exception when custom ColorSet was used in Theme.

Current release also contains the following enhancements:

1. Label’s position can be controlled by users in both Line & Area Charts, by setting the property “LabelStyle” to either “Inside” or “Outside”.
2. Chart will not re-render internally when the following properties are changed. In the chart only the changed properties will be updated, thereby decreasing the CPU usage.

  Axis
      a.Color
  DataPoint
      a.Color
  AxisLabels
      a.FontColor
      b.FontWeight
      c.FontStyle
  ChartGrid
      a.LineColor
      b.LineThickness
      c.InterlacedColor
      d.LineStyle
  TrendLine
      a.LineColor
      b.LineThickness
      c.LineStyle
  Title
      a.FontColor
      b.FontWeight
      c.FontStyle
  Ticks
      a.LineColor
      b.LineThickness
      c.LineStyle

Cheers,
Team Visifire


Visifire v2.0.3 beta Released

Chirag

Hi,

This release contains fixes for the following bugs:

  • Labels did not appear if LableStyle = “Inside” for chart types 3D Pie/Doughnut.
  • The exploded pie went out of the PlotArea when LabelStyle = “Inside” for 2D Pie/Doughnut.
  • Auto LabelFontColor property for DataPoint failed for the chart types Pie/Doughnut.
  • Line charts with multiple series did not display, as line animation failed in WPF.
  • MouseButtonDown event fired twice when single XML file contained multiple charts.

Current release also contains the following enhancements:

  • Chart reference can be accessed from both Managed Code & JavaScript. Eg. object.Chart
  • Chart’s Silverlight Object ID can be accessed from JavaScript. Eg. object.Chart.ControlId
  • Default Interactivity implemented for Line Chart
  • Name property for any element of the chart can be accessed from JavaScript. Eg. object.Name

Cheers,

Team Visifire