Auto fit weight & auto fit height in Graphics

Dear gurus,
Especially in drill downs, in graphics I need to a feature like "auto fit weight & auto fit height". For example column chart weight is 10 cm, height is 6 cm. In drill down if the lines are not too much chart's columns can be too huge; or if the lines are too much chart's columns can be too small. Therefore the system should change weight and height automatically. I haven't seen any dynamic weight and height feature like is in 'format size' (you know well in format size, we can use auto fit weight & auto fit height feature). Anybody knows? Thank you.

Hi
Which Charts are you have used?
if you want to change format size (it means Columnssize in Coumn Chart is varied according to lines,if you have many lines in the column chart it will show too small or if you have less it will show too huge) for that better to use coumn chart,bar chart.
If you don't want to change format size( means the line width and height is not changed according to labels if you have many or less it will shows fixed size.) for that better to use LineChart.
i hope it may help you.
Regards
Prasad

Similar Messages

  • Weight values in weighted linear fit

    I am using Labview 8.5, which has the weighted linear fit vi. 
    What values are acceptable as weights? In other fitting software the weights expected are usually standard deviations of each value. It seems to me that the weights expected by the weighted linear fit vi are in a range from 0 to 1, corresponding to how much you value that point. 
    What is the vi actually looking for? Some value between 0 and 1 or the standard deviation for each particular value of the dependent variable? 
    I can't tell just by reading the help or looking online. 
    Solved!
    Go to Solution.

    Prior to LabVIEW 8.0, there was a "standard deviation" input instead of a weight input for the nonlinear fit function, but internally the code was basically the same (It was immediately converted to a weight internally).
    Weight is better and more convenient because you can completely disregard portions of the data by setting the weight to zero, while it would be weird trying to set the standard deviation to infinity to get the same effect (well, it would not work unless the function can detect that special case and adapt to it).
    Since it is mathematically very simple to translate an standard deviation into a weight, you can do that easily yourself.
    LabVIEW Champion . Do more with less code and in less time .

  • Weighted linear fit

    Hello,
    I'm new in this forum and unfortynately I'm not so confident with LabView.
    Now I'm working with LabView 7.1 and I have a normal linear fit in my program. What I would like to do is change this fitting with a weighted linear fit.
    Searching a bit in the web I found that in the version 8 there is already a VI for this fitting. I guess should be possible with a bit of math to write a subVI, but I have some problem to estimate the weights. is someone can help me?
    And just another question: which of these fitting methods is the best:
    -least square
    -Least Absolute Residual
    -Bisquare
    Thanks

    Hi laser81,
    Thanks for posting your query on the National Instruments forums.
    If you are new to LabVIEW then I would like to strongly recommend that you consider pursuing the LabVIEW Basics courses. The LabVIEW Basics 1: Introduction course is part of a series of courses designed to build your proficiency with LabVIEW and help you prepare for NI LabVIEW certification exams.
    The courses offer:
    The most efficient way to learn LabVIEW
    Training courses for new and experienced users
    Hands-on training with experienced LabVIEW instructors
    Basics courses to help you get started quickly
    Intermediate courses to help you learn how to optimize applications
    Advanced courses to help you learn advanced features and architectures
    The context help for linear fit VI in LabVIEW version 7.1 states:
    Finds the line values and the set of linear coefficients slope and intercept, which describe the line that best represents the input data set using the least-squares solution.Finds the line values and the set of linear coefficients slope and intercept, which describe the line that best represents the input data set using the least-squares solution.
    The context help for linear fit VI in LabVIEW version 8.2 states:
    Returns the linear fit of a data set (X, Y) using the Least Square, Least Absolute Residual, or Bisquare method
    If you then click the detailed help link in the context help window it will fire up the LabVIEW help document file where the help file explains the differences between Least Square, Absolute Residual and Bisquare method and equations are given.
    I have attached the help file to this forum. Have you considered upgrading to the latest release of LabVIEW? It is jam packed with even more technology.
    Check out the release notes for more information on what’s new with a particular release. Please goto www.ni.com/manuals
    I have also found a similar discussion forum link that might be offer some help on the issue this explains a programmatic approach to curve fitting using low level VI’s in LabVIEW.
    http://forums.ni.com/ni/board/message?board.id=170&message.id=181569&requireLogin=False
    I hope this helps
    Best Regards,
    Kirtesh Mistry
    National Instruments UK & Ireland

  • Would a 347 MB file be slow? Auto save and auto type turn off?

    I am doing an art inventory and add jpegs of the art. I don't resize them they range from 750k to 3MB. I guess if it is slowing the program down i should? It currently is 267 rows by about 18 columns.
    Thanks in advance.
    Oh can I turn off auto save and auto type? That may help. How do I do that?

    Done.
    Enter Scrip Editor
    paste the posted script
    File > Save > as Script  on the Desktop
    Move the script to the folder :
    Macintosh HD:Library:Scripts:Folder Action Scripts:
    CAUTION, you will be asked to enter your pasword.
    Create a folder to do the job. I named mine Normalized. I created mine on the Desktop where it's easy to reach.
    Go to :
    Macintosh HD:Library:Scripts:Folder Actions:
    Double click the alias :  Configure Folder Actions
    Below the left column, click
    navigate to select your new folder
    Below the right column, click
    select the script image - normalize400.scpt
    After that, drag and drop a picture file onto your folder.
    The original will be move in the folder Originals (isn’t it original ?)
    and a reduced copy  400 x height will be stored in the folder Normalized images.
    And now, here is the script :
    --{code}
    Image - Normalize
    This Folder Action handler is triggered whenever items are added to the attached folder.
    The script rotates the image counter-clockwise (left).
    Copyright © 2002–2007 Apple Inc.
    You may incorporate this Apple sample code into your program(s) without
    restriction.  This Apple sample code has been provided "AS IS" and the
    responsibility for its operation is yours.  You are not permitted to
    redistribute this Apple sample code as "Apple sample code" after having
    made changes.  If you're going to redistribute the code, we require
    that you make it clear that the code was descended from Apple sample
    code, but that you've made changes.
    modified by Yvan KOENIG (VALLAURIS, France)
    2011/12/08
    This version normalize pictures so that
    (1) the greater dimension become the width one (rotate left if needed)
    (2) this greater dimension is ruled by the property maxWidth defined below.
    property maxWidth : 400
    -- set it to fit your needs
    property done_foldername : "Normalized Images"
    property originals_foldername : "Original Images"
    property newimage_extension : "jpg"
    -- the list of file types which will be processed
    -- eg: {"PICT", "JPEG", "TIFF", "GIFf"}
    property type_list : {"TIFF", "GIFf", "PNGf", "PICT", "JPEG"}
    -- since file types are optional in Mac OS X,
    -- check the name extension if there is no file type
    -- NOTE: do not use periods (.) with the items in the name extensions list
    -- eg: {"txt", "text", "jpg", "jpeg"}, NOT: {".txt", ".text", ".jpg", ".jpeg"}
    property extension_list : {"tif", "tiff", "gif", "png", "pict", "pct", "jpeg", "jpg"}
    on adding folder items to this_folder after receiving these_items
              tell application "Finder"
                        if not (exists folder done_foldername of this_folder) then
      make new folder at this_folder with properties {name:done_foldername}
                        end if
                        set the results_folder to (folder done_foldername of this_folder) as alias
                        if not (exists folder originals_foldername of this_folder) then
      make new folder at this_folder with properties {name:originals_foldername}
                                  set current view of container window of this_folder to list view
                        end if
                        set the originals_folder to folder originals_foldername of this_folder
              end tell
              try
                        repeat with i from 1 to number of items in these_items
                                  set this_item to item i of these_items
                                  set the item_info to the info for this_item
                                  if (alias of the item_info is false and the file type of the item_info is in the type_list) or (the name extension of the item_info is in the extension_list) then
                                            tell application "Finder"
      --set name of this_item to "YK#" & (text -4 thru -1 of ("0000" & i))
                                                      my resolve_conflicts(this_item, originals_folder, "")
                                                      set the new_name to my resolve_conflicts(this_item, results_folder, newimage_extension)
                                                      set the source_file to (move this_item to the originals_folder with replacing) as alias
                                            end tell
      process_item(source_file, new_name, results_folder)
                                  end if
                        end repeat
              on error error_message number error_number
                        if the error_number is not -128 then
                                  tell application "Finder"
      activate
      display dialog error_message buttons {"Cancel"} default button 1 giving up after 120
                                  end tell
                        end if
              end try
    end adding folder items to
    on resolve_conflicts(this_item, target_folder, new_extension)
              tell application "Finder"
                        set the file_name to the name of this_item
                        set file_extension to the name extension of this_item
                        if the file_extension is "" then
                                  set the trimmed_name to the file_name
                        else
                                  set the trimmed_name to text 1 thru -((length of file_extension) + 2) of the file_name
                        end if
                        if the new_extension is "" then
                                  set target_name to file_name
                                  set target_extension to file_extension
                        else
                                  set target_extension to new_extension
                                  set target_name to (the trimmed_name & "." & target_extension) as string
                        end if
                        if (exists document file target_name of target_folder) then
                                  set the name_increment to 1
                                  repeat
                                            set the new_name to (the trimmed_name & "." & (name_increment as string) & "." & target_extension) as string
                                            if not (exists document file new_name of the target_folder) then
      -- rename to conflicting file
                                                      set the name of document file target_name of the target_folder to the new_name
                                                      exit repeat
                                            else
                                                      set the name_increment to the name_increment + 1
                                            end if
                                  end repeat
                        end if
              end tell
              return the target_name
    end resolve_conflicts
    -- this sub-routine processes files
    on process_item(source_file, new_name, results_folder)
      -- NOTE that the variable this_item is a file reference in alias format
      -- FILE PROCESSING STATEMENTS GOES HERE
              try
      -- the target path is the destination folder and the new file name
                        set the target_path to ((results_folder as string) & new_name) as string
                        with timeout of 900 seconds
                                  tell application "Image Events"
      launch -- always use with Folder Actions
                                            set this_image to open file (source_file as string)
                                            set {oldW, oldH} to dimensions of this_image
                                            if oldH > oldW then
                                                      set {oldW, oldH} to {oldH, oldW}
      rotate this_image to angle 270.0
                                            end if
                                            set |échelle| to maxWidth / oldW
                                            if |échelle| < 1 then scale this_image by factor |échelle|
      save this_image as JPEG in file target_path with icon
      close this_image
                                  end tell
                        end timeout
              on error error_message
                        tell application "Finder"
      activate
      display dialog error_message buttons {"Cancel"} default button 1 giving up after 120
                        end tell
              end try
    end process_item
    --{code}
    Yvan KOENIG (VALLAURIS, France)  jeudi 8 décembre 2011 21:25:33
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • REQ: Add 'Fit-width' or 'Fit-visible' view mode, in which the zoom level is automatically set based on the width of the _current_ page.

    Currently, the default zoom level when viewing a page of a PDF file is automatically calculated based on the width of the "widest" page of the document. This means that, if the document contains one page that is wider than the others or is in landscape orientation, then the default zoom, when viewing all the other narrower pages, is set in a way so that the page does not use the full width of the screen. This results in very poor experience, because the zoom level and the visible area of the page have to be constantly adjusted for each page. The latest update (at the time of writing) has added some extra view modes, but not the much needed 'Fit width' or 'Fit visible'.
    Personally, I can find no reason valid enough to justify the lack of such a view mode. Automatically setting the zoom level based on the width of the current page so as to take advantage of the full width of the screen should be a must have feature for mobile devices, if not the default behavior. The current default behavior regarding the zoom level is pretty much useless, even on 8"/10" screens. There should be a view mode in which the full width of the screen is always used to display the document.
    Examples of documents for which the Adobe Reader for Android provides a poor reading experience are:
    documents which contain some of their pages in landscape orientation.
    publications which, apart from the main content, also contain the full front and back cover in a single page (usually first page which is much wider than the content pages) or any other extra pages like cards or application forms (that are meant to be printed) which usually use an A4/Letter page size etc.
    documents which have been cropped by external utilities or scripts so as to eliminate unneeded white margins (in some cases not all pages have the same width).
    Please consider fixing the default behavior in future releases of the Reader for Android or add a 'Fit width' or 'Fit visible' view mode.
    Thank you in advance.
    Message was edited by: George Notaras
    Improved descriptions of example documents.

    To add to this, if you prefer you can separate your JavaScript from your JSF pages.
    Add a folder (I named mine 'js') to your application's ViewController project's public_html folder.
    Via JDeveloper, create a new JavaScript file inside your newly created folder and place your JavaScript functions inside it.
    You can then 'load' the .js file using the method Shantala described, with the addition of an added 'source' property to the af:reference tag.
    (This can also be a URI reference to a JavaScript file hosted on a web server)
    <f:facet name="metaContainer">
      <af:resource source="/js/myJsFile.js" type="javascript"/>
    </f:facet>The benefits of this 'split' are cleaner JSF page source and also code-highlighting and formatting within the .js file making finding and fixing bugs in your JavaScript much easier.
    It appears however, that when using <af:resource> to load scripts, once the page has been submitted even once, the JavaScript is no longer available to the page. Which isn't very useful.
    A solution is to use <trh:script>.
    Add xmlns:trh="http://myfaces.apache.org/trinidad/html" to your <jsp:root> tag and install the library.
    then in place of the above code use:
    <f:facet name="metaContainer">
      <trh:script id="script1" source="/js/myJsFile.js"/>
    </f:facet>Now after a page submit the JavaScript still functions.
    Edited by: Matthew Carrigy on 12/08/2009 10:39

  • I have an iPad 1st generation that no longer has working volume buttons but every once in a while the sound turns on.  So I know the speakers still work.  I have tried resetting all settings and made sure that my side switch was auto lock not auto mute.

    I have an iPad 1st generation that no longer has working volume buttons but every once in a while the sound turns on.  So I know the speakers still work.  I have tried resetting all settings and made sure that my side switch was auto lock not auto mute. I have tried the mystical swiping upward on the screen with 4 fingers to get some special sound menu (which I never succeeded in getting).  My headphone jack doesn't work all the time either so some times my kids can hear their games and sometimes they can't.  I am super frustrated at this point.  So any suggestions would be great.  Am I missing something basic or do we just have a soundless iPad now?

    http://www.atreks.com/app-no-sound-on-ipad-4-%E2%80%93-what-to-do/
     Cheers, Tom

  • How can I continuously auto-save and auto-name the JPEG files with a controlled time interval

    Hi,
    I am newly involved in some Labview projects that out of my knowledge. I am trying to save multiple JPEG images from a live imaging task to a folder in the computer hard disk every certain minutes. I'd like to name these files with the date and time (eg. Img_06012011_1635. jpg).Then, after hours long image capturing, I can have all the image files in a neat order.
    My goal is to have the jpg files auto saved and auto-named with the data and time at that moment. I also need to control this waiting time between each savings.
    Could you please show me some hints about this? See the vi attached, I know I need to do something on the "write path" part on the up right corner. Thanks!
    Solved!
    Go to Solution.
    Attachments:
    capture.vi ‏28 KB

    Thanks, Steve. When I built up a path with the date and time info and send them to the WriteJPEG File.vi like you mentioned, it stopped saving any files into the folder. Do you think this is the problem from my while loop?Could you show me if there is any other secret functions that restrains the file saving?
    I am planning to save the image files every 30 secs,for example, and then I can have a bunch of jpg files with their unique names after hours long image acquisition.
    I appreciate you kindly help!
    Attachments:
    capture(updated).vi ‏29 KB

  • Reason code auto input after auto payment transaction (t-code:F110)

    Hi Experts,
    For line item of G/L account 190810, reason code(001) will be auto input during auto payment transaction.
    But for GL account 190841, reason code is not auto input.
    The posting process are all the same.
    Please help to advise how should we do the configuration setting for the GL a/c 190841
    waiting for your reply,
    Regards

    solved by own

  • Does any one use the SPIGEN iphone case? if so, can you tell me the difference between the ultra fit, ultra fit a, ultra fit s, and ultra hybrid? also does this case get in the way of the camera flash? i ask because the camera opening seems so small.

    also if you dont recommend this case please point in the direction of the best slim fit case

    The Ultra Fit A has a cutout on back to display the Apple logo. The Ultra Fit and Ultra Fit S do not. And the Ultra Fit and Ultra Fit A are a soft matte finish all over, while the Ultra Fit S has a brushed finish in its midsection.
    The Ultra Hybrid is a bumper, with back protection. (1) It's made of TPU (for anti-shock) vs. the all polycarbonate (for anti-slip) Ultra Fit/A/S.
    (2) It also has power and volume buttons overlaying Apple's, which the Ultra Fits do not. (3) Lastly, it covers all four sides, whereas the Ultra Fits cover the left and right sides and wrap around the four corners, leaving the top and bottom exposed (which is good if you want to connect some models of headphones or adapters that require more space there).
    They're all properly designed for the 5/5S flash, including the black around that cutout (you don't want to buy a case that doesn't have a black rim there).
    IMO Spigen's slim cases are better made/more durable than other third-party cases (of which I've bought aplenty). I love mine!

  • Auto keyframe and auto transition not working

    auto keyframe and auto transition not working and I have a creative cloud, in addition the auto keyframe works in the getting startel lessons....

    In order to use these you need to have the autokey frame and transition selected
    OFF   ON
    and have the first key checked then move the playhead to the new position and it should add the transition.
    Did you try this and it is not working?.

  • After I upgraded to OSX Mountain Lion, QuickTime no longer auto names and auto saves, my recorded files.

    After I upgraded to OSX Mountain Lion, QuickTime no longer auto names and auto saves, my recorded files.

    Try using one of these video players. VLC usually works with most files.
    Video Player - Divx
    Video Player – Flip4Mac
    Video Player - VLC

  • After I upgraded to OSX Mountain Lion, QuickTime no longer auto names and auto saves, my recordings

    After I upgraded to OSX Mountain Lion, QuickTime no longer auto names and auto saves, my recorded files.

    HI,
    In Message Menu > Preference > Accounts you should at least have the iMessage Account (Which is Enabled) and th Bonjour one that most likely is not.
    After that if you had iChat type AIM valid Screen Names or Jabber IDs in an earlier OS then the System Preferences > Mail, Contacts and Calendars should list them and have them set to be used with Messages.
    There is a vague chance that you have not set these up yet (you can do it in Messages or Mail, Contacts and Calendars)
    Once you have a t least one other "Account" other than th iMessage one in Messages then the Buddy List option will appear next to CMD and 1 in the Window menu list.
    NEXT
    If you go to the General Section of the Messages Preferences you can unlink several Buddy lists if you have them (By default they are shown as one gathered Buddy list)
    I Have several Accounts logged in (AIM valid and Jabber ones)
    Uploaded with Skitch!
    And I separate them in to individual lists which then gives me this in the Window Menu
    Uploaded with Skitch!
    8:06 PM      Thursday; August 2, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • What does the "AUTO" in PARALLEL(AUTO) do?

    What does the "AUTO" in PARALLEL(AUTO) do?  I know what the PARALLEL hint does.  Usually, you would either not include something in the parentheses following the hint or you would include a number in order to set the DOP.  What happens when you use AUTO instead of a number for the DOP?  I can't find an article online that explains this.
    Thank you.

    Comments
    "PARALLEL (AUTO): The database computes the degree of parallelism, which can be 1 or greater. If the computed degree of parallelism is 1, then the statement runs serially."

  • Auto-Save and Auto-Recovery

    I hope the is a differnence between auto-save (as listed in you document properties) and Auto-Recovery (as set in Prefs). I would like some "protection" but I don't want flash saving over my file unless I tell it to save. I got burn last night while "experimenting" and and did a "revert" only to find that flash had saved over my file, what a pain.  I went to find the "recovery" file only to not find one anywhere. My search on the net are conflicted with wheather or not these 2 features are the same. In my case both items where checked and both set to 10min (the default). soooo....
    Please tell me that Auto-Recovery is different, is that it doesn't save over my file, ie it keeps a real back-up someplace, AND where i can find this "recovery" file. ?
    This feature seems strange, why not do a std auto back-up to a user selected number of versions in a user selected location ?
    Thanks
    Joel

    Thanks. After poking around for a while I kinda figured this out. I was just glad to find out I could get some kind of "back-up" function from Auto Recovery, because "Auto Save" is a nightmare. I can't understand where anyone would want to use this feature at all. Anything that saves over what your working on before your ask for the file to be saved is looking for trouble. I found it out the hard way. I had "auto Save" on and after messing around trying a few different things, none of which worked or I liked, I thought I would simply close and re-open the original file only to find "auto save" had saved over my original file. I can't see any place where this feature would be anything but a pitb. If they want a auto save feature it should be saving versions of the original (up to a user specified number of instances) in the seperate folder. Never under any curcumstances should the original file be saved over unless the users presses SAVE. Auto recovery would be more useful if it didn't erase everytime you restarted the app. Flash needs to look at the back-up and versioning systems that AE and PPro use.
    It's one of those things that bother you about the whole "suite" concept. Adobe owns all these apps and while some of them do play well together to an extent, for the most part it is still a collection of indiviuals. While there have been some changes to get the "look" of the apps to be close, the actual functioning of the UI in the differnt apps isn't where it needs to be. There needs to be a Suite "czar" that makes all the apps do std UI things the same using the same keys etc. for example AE, PPro, Flash, Photoshop, fireworks, all use different keys to zoom in/out or of your image/stage/comp/viewer/monitor window ie main workspace or to enable the mouse "wheel" for zooming.  PPro still refuses to use the spacebar to toggle the hand tool like every other "suite app". anyway. a std system for back-up and versioning is need across the suite.
    thanks
    Joel

  • Auto smart fix, auto levels, auto contrast Where on cs4

    I have photoshop cs4 and I cannot find the Auto smart fix, auto levels, and auto contrast nor the adjustment for each that I had with photoshop elements.

    It's not a matter of version numbers.  Photoshop has never had anything called "Auto Smart Fix".
    Photoshop Elements usually contains various watered-down "preset" options for beginner users as opposed to more advanced users using the Full PS.  Options such as the Red-eye Reduction Tool and if you go far enough back Page Curl in Photoshop LE are examples.
    If you are refering to versions as the difference between PS Elements and PS or PS Extended then you are correct they do not have "Auto Smart Fix".
    Auto Levels and Auto Contrast are available under the IMAGE Menu.  However it looks as though Auto Levels has been renamed as "Auto Tone" in CS4.  Prior to this it was in fact "Auto Levels" through most version numbers of Photoshop.

Maybe you are looking for