LogarithmBase10 does not properly

I have replace or WIN graphic graphical WPF.

I'm using LogarithmBase10 in some graphics (you can see in the sample project).

When the range from 0, that's OK, but if I change the beach to another number (70
for example) the divisions do not display correctly [divisions are overcrowded].

You can change the range and sometimes it is overcrowded and sometimes it's OK (depending on the number of departure).

I have to say: chart WIN, it is not the case.

First of all, just to clarify: by "WIN", you mean "Windows Forms?

I was able to reproduce the problem using your example. This seems to be a problem with how we generate divisions auto for logarithmic scales. To work around the problem, you can set the Mode on the MinorDivisions to the below custom implementation:

public class CustomLogarithmicRangeDivisionsMode : RangeDivisionsMode {

        protected override IList GetDivisionsCore( IRangeDataMapper dataMapper, int divisionsEstimate ) {

            return Auto.GetDivisions( dataMapper, divisionsEstimate );

        }

protected override IList GetSubdivisionsCore( IRangeDataMapper dataMapper, IList dependentDivisions ) {

            // (Note: this example assumes you supply the graph with "double" values)

            const int LogarithmBase = 10;

            double firstDivision = (double)(object)dependentDivisions[0];

            double lastDivision = (double)(object)dependentDivisions[dependentDivisions.Count - 1];

            double previousPower = Math.Pow( LogarithmBase, Math.Floor( Math.Log( firstDivision, LogarithmBase ) ) );

var subdivisions = new List();

            double division = previousPower;

            while( division < lastdivision="" )="">

                for( int i = 1; i < logarithmbase;="" ++i="" )="">

                    double subdivision = i * division;

                    subdivisions.Add( (TData)(object)subdivision );

                }

division *= LogarithmBase;

            }

return subdivisions;

        }

    }

Tags: NI Software

Similar Questions

  • Safari Web Clip does not properly

    Hello everyone

    I have a problem with safari Web Clip and that is does not properly for almost all pages, as example, I participate in a contest of therapy dbrand/unbox, and I really don't want to open the web page, whenever a new winner is announced, so I created a web clip, but it does not work well When I click the web clip icon he asked the location of the clip and when click on done, the web clip is from a different region and I can't fix.

    Is this some sort of bug or can I fix it myself?

    Web Clip still didn't work if the cut element remains in the exact same on exactly the same site. This is apparently not the case here.

    Dashboard widgets in general, are an old technology that has not been updated in many years.

  • Toshiba 47L7453DG - CEC does not properly using exernal amplifier

    I bought Toshiba 47L 7453 a few days ago.

    It is connected to the amplifier Onkyo TX-NR535 but CEC does not properly. Volume control works fine but On / Off or stanby does not at all.

    My previous TV Toshiba 42XV635DG was communicated by the CEC with the Onkyo even without any problem.

    The wire connection is HDMI 1.4 certified.
    Maybe the problem is with the firmware of the TV.

    Maybe someone had the same problem.

    Any suggestion?

    Thank you

    Hello

    From my point of few TV and amplifier are connected some CEC (Volume control) functions that work. I think you should check the auto power settings and HDMI CEC standby control system.

    Manual, you will find some important notes:
    http://www.Toshiba-OM.NET/LCD/PDF/English/L7453-424755-English.PDF

    _Page: 11_
    + You can control the basic functions of audio/video devices connected with s TV remote if you connect an HDMI-CEC compatible AV amplifier or playback device. +
    + If several devices are connected, the HDMI CEC control function may not work correctly. +

    _Page: 86 - 87_
    + When the point to activate the HDMI CEC control in the menu of HDMI CEC control configuration is defined on.
    + On, also allocated to individual features will be activated. +
    + When the connected equipment work, HDMI CEC control automatically detects the TV input selection. If the TV is in standby mode, it will be automatically reactivated. +
    + If the TV is off (standby), television will send a message turns off (standby) all devices HDMI CEC control connected to the TV. +

  • EQUIUM A60: graphic ATI does not properly

    I HAVE AN EQUIUM A60 1 YEAR MESSAGE SUDDENLY CRASH SAID: ATI GRAPHICS CARD DOES NOT PROPERLY.
    CAN'T FIND THE DRIVERS UPDATED ON ATI OR MICROSOFT HELP PLEASE?

    Hello

    Can you tell me when this message appears?
    First of all, you can try to update the graphics driver from Toshiba. It is a first step that you can try.
    Check this page for the driver download.
    http://EU.computers.Toshiba-Europe.com/cgi-bin/ToshibaCSG/download_drivers_bios.jsp

    Good bye

  • Error message: Shockwave, Flash Player does not properly during playback Slotomania

    Original title: shockwave flash player

    Hi I have problems with some games. Especially slotomania. When I enter the RM of slotomania that flashing message saying that Flash shockwave Player does not properly can give to interrupt or stop options taken but its gone too fast for me to do something. Then the really slow game. Can you help me?

    Hello Marilyn,.

    Thanks for posting your query in the Microsoft Community Forum.

    According the information, you are facing problems to play games online as Slotomania due to the Adobe Shockwave, Flash Player error messages.

    It would be useful that you can answer these questions to help you further.

    1. are you facing problems that when you play online game Slotomania?

    2. using Internet Explorer or another web browser?

    3. what version of the Windows operating system is installed on your computer?

    4. have you made a recent software or hardware changes to the system?

    If you use Internet Explorer, you can see the article and check if it helps to solve the problem.

    The problems of games online using Internet Explorer

    It will be useful.

    Let us know if you need help with Windows related issues. We will be happy to help you.

  • fan does not properly

    Does not properly on the laptop

    Sometimes it is just dust, animal hair etc. blocking the fan. Take a can of compressed air and blow all the ports/vents/opening very carefully to see if any change.

  • Setup.exe does not properly

    I'm trying to upgrade to Windows 7, and at one point in the configuration of several programs are listed to be uninstalled, when it gets to the Realtek USB 2.0 card reader a pop window that says setup.exe does not properly.  Cannot uninstall in Control Panel either. Also tried disabling antivirus and firewall as a suggested site. Is there a way around this kind of Setup Windows 7 allows you to work around this problem

    Repeat: You need upgrades to Windows 7 not Windows updates.
    http://social.answers.Microsoft.com/forums/en-us/w7install/threads

    Please post on the forum for Windows 7 update/install. TaurArian [MVP] 2005-2010 - Update Services

  • Graphic drive does not properly.

    Graphics driver does not properly.  Screen will Dim and must restart to resume use.  Occurring more frequently now.  Y at - it a fix for this problem?

    Problem does not occur in safe mode.  Failure seems to occur on any key or the video style.

    Any material support is the manufacturer of the hardware regardless of the operating system that you choose to use.  As it is unlikely that you have a Microsoft video/graphics card - one you have and have you downloaded and installed the latest drivers/software they provide for your particular device?

  • COQ2014: COQ2014 AMD/ATI does not properly

    2 messages warn me for "AMD/ATI does not properly" and "search solution AMD Display adapt-ATI Radeon Graphics Cards.  Search for updates, solutions with nothing appear.  I don't know what that precisely uninstall nor where the new material.

    Thank you!

    Dear customer,

    Welcome to the HP consumer's Support Forum!

    Please try and uninstall the graphics driver AMD/ATI to address current from the control panel > programs and features.

    After you have uninstalled the current graphics driver, please try and install the following driver and check:

    Suite software Catalyst:

    http://support.AMD.com/en-us/download/desktop?OS=Windows+7+-+32

    Hope this helps, for other queries in response to the post and feel free to join us again.

    * Click on the star of CONGRATULATIONS on the left to say thank you *.

    Make it easier for others to find solutions by checking a response "Accept as Solution" if it solves your problem.

    Thank you
    GR1
    Although I am an employee of HP, I speak for myself and not for HP

  • When I turn on my computer a warning appears indicating "delivery manager does not properly.

    DEP original title: data

    When I turn on my computer, a warning appears that says "delivery manager does not properly" and when I click on help and support balloon explanation is that my DEP is not configured correctly.

    Then, after following the instructions and correct the parameters I restart my pc and still the same message appears.

    Hi Olliewoods,

    (1) since when are you facing this problem?

    (2) what is you receive the exact error message?

    An application installed on the computer may be the cause of this problem; I suggest you try the following steps:

    Method 1: Put the computer to boot to determine which application is causing the problem.

    Follow step 1 in the link below,

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    If everything works well after a clean boot, you can deduce that some third-party services are at the origin of the problem.

    Continue with the remaining steps to pin-point on the third party service.

    After find you the program that is causing the problem, you will have to perhaps to update or install a newer version of the program, if you rarely use that you should consider uninstalling the software.

    Important: n ' forget not the computer to start normal follow step 7 in the link.

    See the link below for more information on Data Execution Prevention
    Data Execution Prevention: Frequently asked questions

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer
    ---------------------------------------------------------------------------------------------------------
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Scrolling the page does not properly respond to BlackBerry Curve9360

    Hello friend

    I have developed applications for BlackBerry (JqueryMobile, Phonegap) the application works fine in BlackBerry Torch 9800.

    But once I've installed in BlackBerry Curve9360, scrolling of the page does not properly, that I am not able to view the complete list of items and long text.

    Help, please

    I came up with the solution, the problem occurs because BlackBerry Curve 9360 isn't a touchscreen, there fore scroll doesn't work.

    In my applications, I add 2 pages "index.html."

    on the first page, you have to test if the device is not touch and redirect to the second page.

    Do not use the page for "BB Curve" scroll and any other animation like CSS "" - webkit - transform: translate3d "»

    The other js script go without a problem.

    The page "BB Curve" to redesign the html for use with the cursor,
    For example, the menu is smaller, the police is smaller.
    the size of the screen is fixed.
    Dimension height is better indicate a value min eg 300px
    etc...

  • Mini Bridge does not properly

    Mini Bridge does not properly; said the bridge should run but the bridge is running and mini Bridge never load

    Hi Margot,.

    Mini Bridge is created on a former technology based on Flash, which is currently not supported for future versions. Mini Bridge support will be removed in the Future of the Bridge and InDesign version.

    Thank you

    Deepak Gupta

  • Edit in Photoshop as greyed out.rebooted several times does not properly, can someone advise?

    Creative could use, recently not able to 'Edit in Photoshop' as grayed out. I uninstalled both and restarted several times now. Still does not properly, can anyone advise?

    Hi sandy,

    Please check the image you try to change, the Images should not miss the Lightroom library.

    Please try and complete the step with a different image.

    Kind regards

    ~ Mohit

  • does not properly

    no support for items 12 does not properly

    What is the question?

  • headphone 3.5 mm jack does not properly after update iOS10

    Headphone Jack is not working properly since I have updated to iOS 10, now on 10.0.2, before you start, I would say that my headphones work perfectly, I tried on other equipment, including my old ipod.

    So, here's what happened, whenever I plugged and you try to play a song on music or a video on youtube, I could not get any audio, restart the phone partially solve the problem, I managed to play ringtones in the settings menu without any problem, on both my headphones and loudspeaker at the same time , which I don't know if it is planned, I think it must have something to do with some bugs in iOS 10?

    someone at - it a similar experience or a solution?

    Hi oramicle,

    On the device that you have a problem? I also have this problem on the iphone 6 s. On two different helmets. It's certainly iOS 10.x, because I don't have this problem on the same device and helmet on iOS 9.x. I sent the bug report to Apple with this description:

    After some headphone output (jack 3, 5mm) at the moment does not work on iphone 6s 128GB, iOS 10.0.1 and 10.0.2 - no sound from the headset. Volume controls and MIC still works. When I make a call with the headset plugged and tapping on the microphone, I hear sound for headphone listening, but the others its not. No noise in other applications. Restart the temporary fix of the device this problem.

Maybe you are looking for