Ad Widget

Collapse

full control of graphics

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • leoh
    Member
    • Oct 2005
    • 47

    #1

    full control of graphics

    I think its a good idea to have full control of GD graphics.
    Im my desktop configurations, X-Y labels are so small that I can not even read it. I tried to search a function to increase the Font Size in GD (charts.php and classes.inc.php) but without success.

    All the interesting GD variables must be "user-controllable."
  • edeus
    Senior Member
    • Aug 2005
    • 120

    #2
    Wouldnt there need to be a sizable amount of code to be written for dynamic placement then? (if it werent already written)

    Comment

    • leoh
      Member
      • Oct 2005
      • 47

      #3
      Just a few lines of codes would be necessary, I am sure of that.

      For example, instead of setting for FontSize a fixed value, the programer must add just 1 line for a combo box:

      <input blah-blah-blah value=FontSize>

      And change the line that launches the GD-Graphic to accept the FontSize Parameter.

      It's very easy in PHP. Allowing a minumum controll of the graphics would make things much prettier and easier to use.

      Comment

      • edeus
        Senior Member
        • Aug 2005
        • 120

        #4
        heh OK then

        I just thought the GD image elements would start to overlap each other. Sorry I dont know much about GD and thought each object would need to be placed by coordinates.

        Comment

        Working...