guannstar's Forum Posts

  • Oh yeah korbaach, I forgot to ask before. What line of code specifies how many pixels/big the bar will be when the number 1 is entered into the textbox?

  • Hey korbaach, as always, everything you said worked! Once again, thanks a lot. While I was finishing though, I thought of something else. Would it be possible (because the bar is one object) to let the user click on each separate month bar, and leave a message in a textbox that appears?

    Thanks again (I can't believe how much I've learned from you in such a short period of time!)

  • Hey korbaach, yeah, you were right about the image point. I fixed the bar clamp problem, but there are still few little things I need to fix.

    For instance:

    1. the text linked to the bar is still offset (it keeps floating a bit to the right)

    2. when I slide my page/layout (I use a slide function in my app) to get to the chart, the year text in the list keeps shrinking.

    (Before Sliding)

    (After Sliding)

    [sidenote:] Also, I was wondering, how can I put a space area between each bar, rather than having them pressed up right against each other?

  • Hey I followed your instructions and set it up and my app. I did it correctly, but there's still one slight problem. For some reason, when I set it all up, the bar and number above it keep floating away from the clamped spot on the chart. Can you tell me? Why is this happening?

  • Lol, I have to admit... I kind of thought you did forget; but OMG, thank you so much! You have been such a great help. I understand how you created the twelve month buttons now. I can't say it enough man, thanks again. You're the best!

    P.S. I checked out you're artwork. It's very interesting... dark yes, but very interesting! I personally like "Hiding Inside Myself" and "Desperation". They remind me of Dali pieces.

  • Bump...

  • Hey korbaach, I guess I actually do have just two more question for you. How could I make it so that when you input data, the data on the graph only shows up if it's the correct year (2015)?

    Also, in the gRAPHbAR3 capx, can you please explain to me exactly how you created the twelve month buttons by using only one object?

  • Wow korbaach, thanks so much! You're amazing. I'll play around with it and get back to you after I incorporate into my app, just to tell you how it went. Anyways, thanks again. May a thousand blessings be upon you!

  • Now that's what I'm talking about! Wow, thanks a lot It's perfect! I have one more question though (sorry... last on, I promise lol). That's just how it's done with one bar. But, with multiple bars; how would the text box know which bar to effect? For example, if one bar on the graph represents 'Jan' and another bar on the graph represents 'Feb', how would the textbox know the current month, so it could effect the correct month/bar on the graph?

  • Hey That's kind of what I'm looking for, but instead of creating a new bar each time you type in a new number in the textbox, I need the new number in the texbox to add on to the first bar.

  • Hello all! How do I create a bar graph (change height of bar) based on the number inputs from a textbox? I want the number 1 to equal 10 pixels. For example, if they input the number 2 into the textbox, the bar on the graph should move up 20 pixels.

    capx here: https://dl.dropboxusercontent.com/u/541 ... Graph.capx

    Thanks.

  • Bump...

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Bump...

  • Hello all. How do I create a horizontal scroll box area, using touch? I don't want it to scroll the entire window/layout, just the area within the box? Can someone please show me a capx example, or point me in the direction of a good tutorial?

  • Create a global variable

    keyboard on enter or on button clicked

    > system add : int(NumberAmount.Text) to global variable

    > NumberAmountText set text : global variable

    It works! Thanks This is exactly what I was looking for.