App "Unresponsive" with WPF graphics, GraphInteraction.Zoom and sliders

I can't chart WPF (MS2013) to work with the sliders AND the GraphInteraction of Zoom (zoom with the mouse). The zoom rectangle redraws so slowly that the app is unusable, sometimes even suspended for long enough to get the "(ne répond pas) title" Windows. " WPF is supposed to redraw at 60 fps, but I'm< 1="" fps="" when="" i="" use="" more="" than="" a="" couple="" cursors.="" how="" can="" i="" use="" both="" mouse-zoom="" and="" ~100="" cursors="" at="" the="" same="">

The attached csproj is based on the example of Charting. I pre-load 4 locations with 900 data points each and add 90 sliders and set the graphics DefaultInteraction on Zoom. When you try to mouse-zoom on a region, the zoom rectangle does not appear immediately and all holding left mouse to the bottom of the rectangle redraws slowly)< 1="" fps),="" not="">

I tried to go to Raster and marking the sliders as ReadOnly, but it does not help. I considered to implement my mouse zoom (app has an example of resizing control just to test the performance of a simple), but it feels stupid disable the native just to implement zoom even. I do have performance problems similar with the mouse zoom rectangle (~ 5 fps refresh) without sliders, but this behavior is easier to reproduce. In our application, we often represent 4 channel with 500 K points and 100 data sets + read-only cursors.

Advice / Solutions / advice would be really appreciated!

-David

The problem is due to the large number of cursors, each of which is generating its own visuals and recalculate its position on each update to the chart. The Visual zoom being in the same layer that cursors, layout is also done on the sliders each time the Visual zoom resizes.

Instead of using the individual sliders a hundred to annotate every point, I would recommend using a custom object to render the annotations for all points. Joined a fast model (which still reduces the number of visuals generated using a custom point form which includes the vertical line of the reticle). Add an instance of the AnnotatingCursor to the Children collection of the graph will mark each 10th point with a diamond.

Tags: NI Software

Similar Questions

  • App integrated with Flash Builder 4.6 and compiled for iOS, error now when loading to the appstore

    I built a simple application using Flash Builder 4.6 and have successfully deployed to the Android Market (after testing on my own Android device).  I also took this same application and compiled for iOS and tested on my iPad.

    I then did the Release with the final 'Release for App Store Distribution' option in the release generation Wizard.  I have all the certificates supply correct in place and compiled the application in a .ipa file.

    At this point, you use a MAC, I ran the Application Loader utility to upload my app to itunesConnect portal to get it in the appstore.  I already went through the steps to enter metadata, pricing, and screenshots in itunes connect portal and just need to download it for review.

    When I download the .ipa file into the application loader, it gives me the following error:

    "iPhone/iPod Touch: contains executables of the application not supported architectures: arm.

    Anyone have any idea what this means and how I can fix this?  Any help is greatly appreciated!

    Thanks in advance!

    He solved.  Just add the following text in the tag for iPhone in my app descriptor XML file:

    UIRequiredDeviceCapabilities

    WiFi

    ARMv6

    ARMv7

  • updated Android app - problem with the new/old P12 certificate

    Hello

    We have updated our android App, one was built in October 2013, and now, we have used the new web tool for building application - since I'm on a new Mac I can't access the old certificate of P12, I created a new certificate P12 and signed then new app "apk" with her... And now when I try to download this new APK on google game I got a message:

    Failed to download

    You have downloaded an APK that is signed with a different certificate to your previous APKs. You must use the same certificate. Your existing APKs are signed with the certificates with fingerprint (s)...

    It is true, but is there a way to get around this if I don't have the old P12 files?

    It's something you'll have to ask questions about Google. Their mistake is pretty clear that they want you to use the previous certificate, and that is beyond our control.

    Neil

  • El Capitan Preview Zoom App problem with PDFs

    Hello world

    After the upgrade to Yosemite to El Capitan (10.11.5), I noticed a strange when behavior you zoom in PDFs with Preview.app. Crossing of a certain zoom level obviously breaks the screen refresh. The window turns white, while the text and the images disappear. Also has anyone seen this behavior with Preview.app? Is that what I can do to fix this problem?

    Thanks in advance,

    Kind regards

    Alex

    Hi A_H,

    Welcome to the communities of Apple Support! It is a great place to get help with the issue of zoom that you encounter in the application overview since the update to El Capitan. I will be happy to provide you with suggestions.

    For starters, let's you completely exit the application overview and restart your Mac. Here are instructions on force quit an application:

    Force a nearby application on your Mac.

    The next step would be to restart your Mac in safe mode. The support article title is a bit misleading, but this step is very valid. From your Mac in safe mode will erase some caches, conduct system audits and prevent some elements of the user to open automatically. Here is the information on how to enter safe mode:

    Try safe mode if your Mac does not end commissioning

    If after you restart normally, you always run into questions within the preview, I recommend creating a test user account. This will help isolate if it's a problem specific to the user, either something across the system. You can use the following resource:

    How to test a question in another account on your Mac.

    Have a great day!

  • How to change the color selection zoom wpf graphics?

    How to change this yellow color heavy into something more transparent?

    There is currently no available property to customize the color of the Visual interaction. I created a task to add this feature.

    To work around the problem, you can use the attached custom interaction like a wrapper around graphical interaction integrated to specify brushes custom for the line and filling:

    var customInteraction = new CustomInteraction( GraphInteraction.Zoom );

        customInteraction.SelectionStroke = Brushes.Green;

        graph.DefaultInteraction = customInteraction;

  • Locked out of my iPhone with screen curtain, Zoom and command more

    I thought new activate Zoom controller (controller general, settings, accessories, show) and test it.  Suddenly, the phone (6 s) started behaving erratically - I tried to click in the zoom box but he was jumping around the screen and does not seem to accept my entries.  Next thing I know that Voiceover is turned on I couldn't navigate the screen if I look I want to restart the phone.  The thing now is dark (screen curtain on), stuck at login screen waiting for a numeric entry in Voiceover and Zoom active controller.   Is there a way to get out of this mess?

    Update: I managed to stop the zoom and the screen curtain.  Now I'm at the display of password entry with Voiceover on.  I entered my password but that figures do not fit despite the voiceover repeating as I type

  • OSX 10.11.2 on end of 2008 with the graphic card Nvidea Quadr 4000 MacPro is unable to open the Nvidea driver manager in System Preferences, CUDA work and updates. Any suggestions? Have tried to install updtyer Combi for OSX.

    OSX 10.11.2 on end of 2008 with the graphic card Nvidea Quadro 4000 MacPro is unable to open the Nvidea driver manager in System Preferences, CUDA work and updates. Any suggestions? Have tried to install Combi updater for OS x, the problem persists.

    If I remember someone else reported the same problem yesterday and Nvidia suggested to reinstall OS x. If yo boot into Recovery and reinstall without formatting nothing should be lost but backup before just I case.

  • Binding of WPF graphics and definition lines and plots only in the ViewModel

    Hello

    is it possible to bind all the Axes and all parcels in the Viewmodel?

    Now I've set the Axes and the plots in Xaml, but I want to generate momentum. Is this possible via the ViewModel?

    My graph now looks like this:

       
                
                    
    
                    
                    
                    
    
                        
                            
                        
                    
                    
    
                        
                            
                        
    
                    
                    
    
                        
                            
                        
    
                    
                    
    
                        
                            
                        
    
                    
                
                
                    
                        
                    
                    
                        
                    
                    
                        
                    
                    
                        
                    
    
                
            
    

    My ViewModel looks like aktually like this:

    public ChartCollection[] chartCollection { get; set; }
    
       chartCollection = new[] {
            new ChartCollection(1000),
            new ChartCollection(1000),
              new ChartCollection(1000),
            new ChartCollection(1000),
                     new ChartCollection(1000),
            new ChartCollection(1000),
                     new ChartCollection(1000),
            new ChartCollection(1000)
        }; 
    
    and data-insert :
      test = hw.T_a1Actual.ToString();
        chartCollection[0].Append(hw.T_a1Actual);
        chartCollection[1].Append(hw.T_a2Actual);
        chartCollection[2].Append(hw.n_a1Actual);
        chartCollection[3].Append(hw.n_a2Actual);
    
    }));
    

    But I want to generate all the Axes and all dynamic plots. What is the best way to do it?

    I can do this via the ViewModel?

    Thanks in advance

    Manual

    Do not forget that the plots and the scales on a graph are just components and not the user interface objects themselves.

    It would be possible, with little code, take a set of models 'conspiracy' and 'axis' models and generate plots and lines of them, which could then be synchronized with a graphic. If expose you the Plot and AxisDouble components on the model, then the synchronization code would be necessary:

    public static class GraphExtensions {

    // Private property to hold on to synchronizer.
            private static readonly DependencyProperty PlotsSynchronizerProperty =
                DependencyProperty.RegisterAttached(
                    "PlotsSynchronizer", typeof( CollectionViewSynchronizer ), typeof( GraphExtensions ) );

    // Public property to declare source of Graph.Plots collection.
            public static readonly DependencyProperty PlotsSourceProperty =
                DependencyProperty.RegisterAttached(
                    "PlotsSource", typeof( IEnumerable ), typeof( GraphExtensions ),
                    new PropertyMetadata( OnPlotsSourceChanged ) );

    public static IEnumerable GetPlotsSource( Graph g ) {
                return (IEnumerable)g.GetValue( PlotsSourceProperty );
            }

    public static void SetPlotsSource( Graph g, IEnumerable value ) {
                g.SetValue( PlotsSourceProperty, value );
            }

    private static void OnPlotsSourceChanged( DependencyObject d, DependencyPropertyChangedEventArgs e ) {
                var graph = (Graph)d;

    // Retrieve existing synchronizer, or create a new one for the target graph.
                var synchronizer = (CollectionViewSynchronizer)graph.GetValue( PlotsSynchronizerProperty );
                if( synchronizer == null ) {
                    synchronizer = new CollectionViewSynchronizer { TargetCollection = graph.Plots };
                    graph.SetValue( PlotsSynchronizerProperty, synchronizer );
                }

    // Synchronize graph's plots with new source.
                synchronizer.SourceCollection = CollectionViewSource.GetDefaultView( e.NewValue );
            }
        }

    In XAML, you can set the property attached on the chart as:
        
    : where the model exposes a collection or the observable collection of Plot objects.

    A similar attached property might be set to synchronize the Axes collection on a graph with a collection of model.

  • Display problems with all types of terrain and graphic

    Hello

    I have display problems general with all types of chart, graph or plot that I try to use, on two different machines, both with NVIDIA graphics cards.  A machine is a MacBook under XP SP2 in bootcamp and the other a Dell T3400 workstation (or something similar) under XP SP3.

    I posted this thread earlier which Ben replies to the weird graphic behavior.  Ben suggested that I try to simplify my code as much as possible while keeping the bad behavior and by submitting to the NC and the forum, because it is others have had problems of graph.  I tried, but in vain.  Display problem continues and continues and continues and then they just go and I can't get back by unscrewing the last stage of reduction or simplification of code.  But at some point during the reconstruction of the code, which I cannot determine, returns the bad behavior.

    So, I was set up with graphics looking for shit, until recently, when I thought I'd try some suggestions of other messages to a XY-plot function as a graph by creating a buffer and using nodes of ownership of land for the range control.  Things seemed promising, until my "XY table" started getting shit, too.  This time, the issue was with the grid lines becomes all chopped, attached images.

    I am out of resources here.  I think I'm running out of options to display graphic data in an acceptable manner.  Do I have to display data by using an Excel chart in an ActiveX container in Labview?  I'm not skilled enough to do it again.  I like Labview, it is the only programming language that I am competent even remotely help, but it's just inferiorating.

    Any suggestions would be much appreciated.  Thanks for reading.

    -Greg

    Greg,

    is there a particular reason why you use the bar plots - view superior graphic style? Try activating the legend of the plot, go to the bar plots and select the first track of the Bar Style. Your chart is displayed very well after that.

    See you soon,.

    Cerati

  • I can say and scrolling with touchpad can not zoom in

    Samsung notebook PC series, can point and scroll with the touchpad, cannot zoom or turn

    Hello Shelly,

    1. don't you make changes to the computer before this problem?

    2. is the question confined to the touchpad?

    3. you download and install the drivers of more recent and up-to-date touchpad on the site Web of the manufacturer?

    Follow these methods.

    Method 1.

    This tutorial is designed to help you identify and fix the mouse, touchpad and keyboard problems in Windows.

    Mouse, touchpad and keyboard under Windows problems: http://windows.microsoft.com/en-us/windows/help/mouse-touchpad-and-keyboard-problems-in-windows

    Method 2.

    Steps to zoom.

    1 - Place two fingers on your touch pad about an inch of distance.

    2. slide your fingers on the other while maintaining contact with the surface of the touch pad. The window will zoom in.

    3-lift your fingers off the coast of the touch pad when you have reached your desired magnification.

    Steps to zoom out.

    4 - Place two fingers on the touch pad to maximum distance each.

    5. slide your fingers closer together while keeping in contact with the touchpad. The window will zoom out.

    6-lift your fingers off the coast of the touch pad when you have reached your desired result.

    Method 3.

    Press "Ctrl + Alt + right arrow" to rotate the screen and touchpad 90 degrees.

    Press 'Ctrl + Alt + arrow up' to reverse back to normal.

    Let us know if you need assistance with any Windows problem. We will be happy to help you.

  • I've updated my Muse app to the latest version of July and since then my Muse forms do not work with several of my web hosting providers. Is this a case of the site not having host is not the latest version of PHP?

    I've updated my Muse app to the latest version of July and since then my Muse forms do not work with several of my web hosting providers. Is this a case of the site not having host is not the latest version of PHP?

    Please consult this document:

    Troubleshooting Muse form used on the servers of third party Widgets

    Thank you

    Sanjit

  • CS5 wrong position of the guidelines in line with leaders at the zoom in and out.

    Hello!

    I noticed a long time ago and always doing something by changing the scale of the rules (for pixels to something else and back or pressing a TAB key or something to call some event in photoshop) to have my guidelines broken the dimensions adequate when you zoom in my opinion (or back). This looks like a bug of somekind for me, but a missing something and maybe it's a way to get photoshop update guidelines automatically when you zoom in? Is there something for this problem?

    Kinder Pawel

    If you see the zoom animation OpenGL, that is, where the zoom quickly and smoothly change from one level to the other, it is a known problem with the leaders sometimes do not update.

    Assuming you are using documents with tab (no floating windows), with active Zoom tool, try to activate the option [] Resize Windows to enter in the options bar to the top of the main window of Photoshop.  This should disable the animated zoom and make sure that you can see your leaders to update.

    -Christmas

  • bacward compatibility tag DVT overview to provide zoom and scroll features in the graphics of the adf

    ADF 12 c media features presentation in graphs, which allows the user to zoom and scroll in the chart and little more than features. Andrejus Baranovskis Blog: ADF 12 c (12.1.3) line graph preview function

    Can any one subject comfirm it's backward compatibility, what is the minimum version of the ADF, these features may be supported?

    If only 12 c supports this then any other way to get these features in older versions of the ADF and what might be the minimum version to get these features.

    All documentation around this would be a great help.

    Thank you

    Abdou

    This featrue was introduced in 12.1.3 and has been backported to 11.1.1.9.0 as shown in the new features of Oracle JDeveloper 11.1.1.9 lately. You must use this version to achieve this functionality.

    I don't think you can ask a backport to another version that the feature is available in the latest version of 11g and 12 c.

    Timo

  • Zoom and scrolling with Charting components?

    Just take a look at the documentation on the (Flex Data Visualization Components) graphs and test most of the examples... but not a single or seams documentation in order to make possible a kind of scrolling (scrolling in particular).
    I have a large series of values or time over a period of great values and I want to be able to zoom in on a shorter period. So I need to be able to scroll the graph horizontally and keeping the visible vertical axis.
    I can't imagine that Flex can not do...

    So, I say to myself in case anyone has the same issue...

    To make some zoom and scroll tools in a chart, simply use the minimum and maximum alignment properties!

  • The graphics are large and fuzzy

    Recently, I noticed that the graphics in Firefox have become big and blurry. It's like they are all automatically be zoomed. I can't pinpoint exactly when it started, but I'm sure that it has not been like this for always, because it would have pushed me crazy a long time ago! I do not change the settings myself, so I wonder if it has something to do with an update of Firefox.

    In any case, looking at Web sites, I have to zoom back twice to the State of default zoom the images seem still crunchy.

    However, the question also applies to the graphics that are part of the Firefox interface. For example, in my bookmarks toolbar icons are blurred. So are the Home icon, the icon download and other graphics integrated that I can't zoom in.

    Amendments of the code regarding the HiDPI support high-resolution displays have landed at Firefox 22 and later (bug #844604).

    You can change the layout.css.devPixelsPerPx and increase or decrease the value of 0.1 or 0.05 as follows to adjust the size of fonts and other elements in Firefox.

    • The layout.css.devPixelsPerPx pref is a string parsed in float value and allows you to adjust the dimensions of all elements (user interface and web pages) specifically (resolution 0.1 or 0.05).
    • Change the default value of-1 to 1 to make it work as in previous versions of Firefox (100%)

    Start with a value of 1 and adjust this value with 0.1 or 0.05 for finer settings.

    • Use values between 1.0 and around 0.5 to reduce the size of the items (do NOT go all the way to 0.05!)
    • Use a value greater than 1.0 to grow and enlarge the elements (percentage divided by DPI, % / DPI).
    • http://KB.mozillazine.org/about:config

    If the web pages must be adjusted after changing this pref so you can watch the extension Default FullZoom Level or NoSquint.

    This extension allows to adjust the font size for the user interface:

Maybe you are looking for

  • Satellite P35-S609 - boot possible from the SD card?

    Hello. I did some autour research to see if it is possible to start a P35-S609 laptop computer and the SD card. Obviously, I have not found anything useful yet...I'm just boot Damn Small Linux from a 1 GB SD card. I started with success from a USB ke

  • Program seems to work in virtual environment but wrote no tension

    I have a program I want to use for an alternative output voltage that allows to change the size with the push of a button. I joined the program. Everything seems to work fine (judging by the graph of the voltage!) But when I try to run this program w

  • CTRL + ALT + DELETE to open two windows in each time

    Windows Explorer opens two windows after logging in (for Windows) Is the windows path: C: \ Documents and Settings------all users------Start Menu-Programs What can I do to remove this problem? Thanks for all the answers.

  • 2540 HP all-in-One: 2540 HP connect for iPad (ios 8)

    I live in an apt complex where wireless internet is provided.  I have a brand new 2540 HP I want to use it with an iPad on iOS 8. I don't have any other computer and therefore must do Setup printer fully wirelessly. I downloaded the setup of Apple, p

  • Messages MSN Windows Live Hotmail

    Using Internet Explorer 7, I am unable to read messages sent to my old email address, which is * address email is removed from the privacy *.  What must I do to read these messages in Winows Live Hotmail? Please advise!