Ayuda con grafica

HMG en Español

Moderator: Rathinagiri

martingz
Posts: 408
Joined: Wed Nov 18, 2009 11:14 pm
Location: Mexico

Ayuda con grafica

Post by martingz »

Estoy tratando de generar una grafica usando un grid para lograr lo que me piden, hay alguna manera de hacer que las lineas del frid, reduzcan su ancho para lograr que ajustar a la ventana, es decir sin usar los scrolls
grafica.jpg
grafica.jpg (66.41 KiB) Viewed 3944 times
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Ayuda con grafica

Post by esgici »

martingz wrote:Estoy tratando de generar una grafica usando un grid para lograr lo que me piden, hay alguna manera de hacer que las lineas del frid, reduzcan su ancho para lograr que ajustar a la ventana, es decir sin usar los scrolls
Google translate wrote:I'm trying to generate a graph using a grid to achieve what you ask, is there any way to make the grid lines, reduce its width to get fit to window, ie without using scrolls
Hola Martin

Does we can see your (SSW) code ?

Viva HMG :D
Viva INTERNATIONAL HMG :D
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Ayuda con grafica

Post by Pablo César »

Hola Martin,

En mi opinion, para que no precises utilizar el scrollbar vertical, deberias utilizar otra escala para que quepa en la ventana.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Ayuda con grafica

Post by esgici »

En mi opinion, para que no precises utilizar el scrollbar vertical, deberias utilizar otra escala para que quepa en la ventana.
In my opinion, to precises not use the vertical scrollbar, you should use a different scale to fit the window.
Good opinion :arrow:

and another point : why GRID :?: :?

Happy HMG'ing :D
Viva INTERNATIONAL HMG :D
martingz
Posts: 408
Joined: Wed Nov 18, 2009 11:14 pm
Location: Mexico

Re: Ayuda con grafica

Post by martingz »

Esgici , Pablo thanks for answering.

is a time chart, so the most accurate way to show it on in 4 lines per hour , in periods of 15 minutes

Esgici,It is on a grid that I need to form in the same line up to three entries per day, and the grid was adjusted to my needs, only now the user wants to see everything in the window without the scrolls
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Ayuda con grafica

Post by esgici »

martingz wrote:...It is on a grid that I need to form in the same line up to three entries per day, and the grid was adjusted to my needs, only now the user wants to see everything in the window without the scrolls
OK, well...

Where from will come images ?

There isn't any probability to change base values at run-time ?

Saludos
Viva INTERNATIONAL HMG :D
martingz
Posts: 408
Joined: Wed Nov 18, 2009 11:14 pm
Location: Mexico

Re: Ayuda con grafica

Post by martingz »

There are not pictures, coloring the cells of the grid individually

Try to find a chart, but none meets the requiements of the end user, the only thing stopping me is that I can not change the width of the rows of the grid.

I'm trying right now with RMChart

Regards
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Ayuda con grafica

Post by esgici »

martingz wrote:There are not pictures, coloring the cells of the grid individually...
Good idea :arrow:

May be a character string colored with length on base value in a single cell ? ( as a horizontal bar for each line in the left GRID )

FE: REPLICATE( CHR( 255 ), <nBaseValue> / <nIncrement> )

Anyway, the opinion of Pablo is good and applicable, I think.

Because in graphics, the goal is to demonstrate numeric values as picture / shape for build a visual comparison; neat accuracy may not be very important in many cases.

Happy HMG'ing :D
Viva INTERNATIONAL HMG :D
martingz
Posts: 408
Joined: Wed Nov 18, 2009 11:14 pm
Location: Mexico

Re: Ayuda con grafica

Post by martingz »

Esgici

Unfortunately the end user wants with 4 lines per hour, so that visually it easier

I think Pablo is right
Was my first elecion, 2 lines per hour, but did not accept

REPLICATE( CHR( 255 ), <nBaseValue> / <nIncrement> )
Good idea , gave me a good point, try to make it with two different characters one at half and full otherwise, so will use nothing but 2 lines per hour

Thank you very much
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Ayuda con grafica

Post by esgici »

martingz wrote: Unfortunately the end user wants with 4 lines per hour, so that visually it easier
"End user" ...

Yes, our spoiled user ... ;)

I wish easiness to you ...

If we have anything to make for you, please don't hesitate to ask ;)

Happy HMG'ing :D
Viva INTERNATIONAL HMG :D
Post Reply