July 2, 200916 yr I have a repeated field with 80 repetitions, that I am using to create a bar graph for weights. I have a calculation and conditional set so that the bar color is set appropriately based on the weight. Works great, but I want to do one more thing with it and can't figure out how... When I print the graph, I only want the actual number of repetitions or length of the colored portion to print, followed by the weight appended immediately to the right of the bar. Right now, I have the graph printing and it looks good, but I can't place the weight directly at the end of the bar. So it would look like this (R=repetition displayed with color): RRRRRRRRRRRRRRRRRRR 50 RRRRRRRRRRRRRRRRRRRRRRRRRR 70 etc. The bar field is defined as: Get ( CalculationRepetitionNumber ) ≤ Extend(Weight) The conditional sets a repetition to blue if Value = 1 Must be some sort of calculation to do this?? Thanks.
July 2, 200916 yr Place the weight field to the right of the repeating field and set both to slide left.
July 2, 200916 yr Author Yes, that did it...after I used a substitute in the calculation to change the 0s to spaces!! Thanks. Edited July 2, 200916 yr by Guest
July 2, 200916 yr Try in the file I posted in the original thread - you'll see the substitution isn't necessary. http://fmforums.com/forum/showtopic.php?tid/209772/
Create an account or sign in to comment