Jump to content



Member Since 22 Feb 2010
Offline Last Active Jun 15 2010 12:18 PM

Topics I've Started

Right Click On Data Series

03 June 2010 - 08:16 AM


I've updated to Silverlight 4 and visifire v3.5.3 . I can attach a right click event handler to the chart and it works but it won't work on the data series, which is what I need.

Left click works fine.

series.MouseRightButtonDown += series_MouseRightButtonDown;

  private void series_MouseRightButtonDown(object sender, MouseButtonEventArgs e)
            e.Handled = true;

        private void series_MouseRightButtonUp(object sender, MouseButtonEventArgs e)
            e.Handled = true;

            DataPoint dp = sender as DataPoint;
            DataSeries series = dp.Parent;

            int dataPointIndex = series.DataPoints.IndexOf(dp);



Any help would be much appreciated! Thanks.

Zoom out + Show all feature.

23 April 2010 - 02:55 PM

I have been using Visifire for silverlight 3.0.4 .

I have now upgraded to 3.0.8 to use the new zooming features. However when i use the 'zoom out' or 'show all' button.

I get error Unhandled error in silverlight application error 4004 System.InvalidCastException invalid cast from double to DateTime.

My X Axis is date time. Is it something to do with how this new feature works ?

Any help is much appreicated.


Zooming and <vc:Axis ValueFormatString="dd/MM/yyyy"/>

16 April 2010 - 09:37 AM


              <vc:Chart.AxesX >
                        <vc:Axis Title="Date"/>
                        <vc:Axis ValueFormatString="dd/MM/yyyy"/>

When I add the part

<vc:Axis ValueFormatString="dd/MM/yyyy"/>

Zooming no longer works. Am I missing some code ?

I am using version

Best Regards,

Accessing HrefTarget from code Behind

26 March 2010 - 03:00 PM

I need to be able to change HrefTarget to "_blank". All the examples here use the xaml. I want to do it from code behind.

   dp.HrefTarget = "_blank";

This results in  Error --- Cannot implicitly convert type 'string' to 'Visifire.Commons.HrefTargets?

Any help greatly appreciated.

How to change chart on button presses.

08 March 2010 - 09:59 AM


I'm new to VisiFire and Silverlight.

I have made a Silverlight chart in the same way this one is made: DataBinding Chart

I now want to be able to add and remove data series according to button presses and tick boxes. I have the buttons and tick boxes added but I need to know how to remove and add data series from the code behind. Keeping in mind the way in which i made the chart as per the example.

I need this to be real time.

Any help would be much appreciated.