-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong calculation for values and output code #6
Comments
Hi Chris, first, thank you very much for your commitment, this is the studio's first github and it's amazing to see you contribute like this ! your question covers two topics : Now if I find this behaviour right from a logical view, your feedback makes me think it is not obvious the users, so there is space for improvement. Maybe it would be fine to add a radio button that provides a choice between "start value is 0" or "start value is Data's field's first value". 2/ data format flexibility Another example : boundary values are automatically detected (and can be forced by the user using the minimal / maximal value fields). In your example, 1 is detected as the minimal value and 3 as the maximal value, so the algorithm expands the range of the data to make a 1 in the input correspond to a 0 in the output. To make it short, I think the calculation is not wrong but the process is not totally transparent for the user. How do you think we can improve ? |
Hi olicorn, thanks for your feedback! Here are my thoughts about your comments: 1: If you use the font without the tool, i think the choice to make 0 the default first value is totally understandable. But if you use the convert tool, i think the user expects more "whatever" he entered will be used. So if i enter 1,2,3 i expect a steadily growing line without any buckles. I think it would be even more confusing to add additional radio buttons for "a user choice". I think the user already expressed his choice by entering values. Maybe it might be a good idea to add a visual clue if the data length values differ from the text length value. So its more clear that the output is an interpolated form. 2: I actually don't get the "min/max" value stuff. I mean its obvious (and cool) that a marker is added, but here are some examples and outputs using the following input text: "abcd" and data: "1,2,3,4,5"
using 1 as minimal: I think the most obvious choice would be to remove the input field for the min/max value. Just the radio buttons and the rest will be handled by the tool. Maybe it would be beneficial if the the tool provides more than one min/max symbol (by user choice). So in conclusion: I'm not sure if i'm to much a programmer and see things different, but i think for a normal user the output results are not that obvious. Here are my "improvements" that i would recommend:
Also: I think the lines can take 7 directions only (up(3) & down(3) & equal(1) = 7 directions). Is there a way to add a more fine grained distinction? I know this i a lot of graphical work within the font but i have the impression that the user usage would require a more fine grained distinction... |
Ah, i think i got it why the "min value" is used ... if the users input data is 11,12,13 the user can "shift" the graphs baseline with the min/max ... ah,oh ... mmmhhh ... not sure if this is a good idea ... its actually clever but its not that obvious. Maybe renaming would help or giving a dropdown with values that are usable to shift the value ... for example the "10,20,30" would provide a min dropdown with values 0, 7, etc.) ... ok, i'm thinking out loud right now ... the min/max have to be in correlation to the graph entry points ... the entry points can be at the bottom, top and in between ... due to the limitation of the font i think there can only be three baselines, am i right? But what would happen if the the data values are 10, 9 , 11 and the min value is provided with 10? Mmmh, mmmh ... maybe just give the user a dropdown with "start at bottom" , "start at middle" , "start at top" ? But starting at the top would result in an useless graph ... ok, i stop here. I have to rethink the current approach and what i see as a usefull approach. I'll be back soon. Any feedback is appreciate (even if you think that i'm on the totally wrong track) |
Hi Olivier, thanks a lot for your visual hints and explanation! I think i had a mental issue with the naming convention "min/max value" <=> "min/max symbol" usage. Probably just renaming the input fields would help. "Lower/Upper Baseline/Boundry" or something like this would make the purpose more obvious. Also i would change "DISPLAY" (beneath min/max) to a more distinct name like "Show min/max symbol" because using the min/max SYMBOLS has nothing to do with the min/max values ... i first had the impression that entering a min/max value would set the min/max symbol to this value. Mmmh, ok, just had a quick rethought ... i think you are describing a special case of usage (comparing datasets). I don't think that this usecase should be THAT prominent within the tool. I think the main purpose is ONE graph with min/max symbols and the axis legend. Your mentioned usecase is not even directly possible within the tool ... you would need more windows or multiple output (and probably input fields) to really make the "comparing" possible. Maybe this should be a separate tool ... KISS (Keep It Short & Simple) About the visual hint for non matching input data and input text: Greets, Chris |
You are right about the wording issue. I made a few changes in the last commit, hope it is more obvious now. Also I put the radio buttons for the min / max indicators in a separate place, to avoid confusion between what is related to display and what is related to data conversion. I changed the behaviour of the first character start value. Now if you want to have data that exactly fit your text, your data's length has to be your text's length + 1. Finally, there is a hint that indicate whether the data is extrapolated or not. I'm more in javascript than in html/css, I think the way I've done it is a little crappy, but it does the job... Fully agree to keep it simple, this tool is not designed for comparing, but for conversion. Indeed, it can be useful to people that will use Datalegreya for comparisons in some editing software, like illustrator, indesign etc. So I still think this complexity is necessary. |
Hi all,
i just noticed that the calculation for the converter/test tool is a little off the limits.
To reproduce (on http://www.figs-lab.com/content/datalegreya/convert.html):
1: abcde (as Text)
2: 1,2,3,1,2 (as Data)
=> Result: §0a|0b|2c|3d|0e|2
Expected Result: §0a|1b|2c|3d|1e|2 OR §1a|2b|3c|1d|2e|???
I just had a glimpse at the JS function that produces the output result, but there are several places where it looks very odd and i just don't get it why its written this way.
Are you interested in a rewrite? What should be the rules for the starting value? Currently it always starts with 0. I think it would be nice if the start value is the first value of the data points (so you can decide on your own). What are the rules for having not enough data points? No output? Fillup with last values? Error Message?
Greets,
Chris
The text was updated successfully, but these errors were encountered: