Page 11 of 11

Re: hpwSimpleGraph

PostPosted: Fri Nov 15, 2013 3:26 am
by CN_Iceman
No problems at all... We know who they are. :P
Greetings.

Re: hpwSimpleGraph

PostPosted: Mon Feb 24, 2014 11:30 am
by HPW
Just released hpwSimpleGraph 1.34:

http://www.hpwsoft.de/anmeldung/html1/n ... ook19.html

Component-Upgrade of TSimpleGraph from 2.9 to 2.91 (Bugfix for wordwrap-bug from the delphiarea forum)

Regards

Re: hpwSimpleGraph

PostPosted: Wed Feb 26, 2014 12:16 pm
by Luiz Alfredo
Thanks Hans. Your Plugins are great.

Re: hpwSimpleGraph

PostPosted: Wed Sep 24, 2014 7:54 am
by yanzco
can i use hpwsimplegraph to make a bar graph chart?

like something like this?
1 --------
2 ------------
3 ---
4 --------------------
5 ---------

Re: hpwSimpleGraph

PostPosted: Wed Sep 24, 2014 2:32 pm
by HPW
Hello,

>can i use hpwsimplegraph to make a bar graph chart?

I think not, or not easy.
It is not a General graphic solution.
Maybe you have a look at specific Chart plugins or maybe hpwImage, which can script a Bitmap in many possibilitys.

Regards

Re: hpwSimpleGraph

PostPosted: Wed Sep 24, 2014 3:21 pm
by ebear
Dear Yanzco,

Please take a look at NeoChart http://www.neosoftware.com/neobook/modules/plugins/singlefile.php?cid=4&lid=114.
This plugin gives you the possibility to use RmChart graphs. I use this in combination with NeoBookDbp to show graphs of production data.

Best regards,

Eric

Re: hpwSimpleGraph

PostPosted: Wed Sep 24, 2014 7:35 pm
by yanzco
hello ebear.. i cant seem to make neo chart to work.. the demo buttons doesnt work..
i placed the gdiplus.dll in the neochart plugin folder..

no instructions where to put it..

Re: hpwSimpleGraph

PostPosted: Thu Sep 25, 2014 7:52 am
by Wrangler
Try putting the .dll in the pubdir.

Re: hpwSimpleGraph

PostPosted: Fri Sep 26, 2014 5:04 am
by yanzco
already there.. doesnt seem to work..
load chart from file works
but go to pie chart.... create chart and the other buttons doesnt do anything..

Re: hpwSimpleGraph

PostPosted: Fri Sep 26, 2014 9:51 am
by David de Argentina
Hi yanzco,

If you can get the load chart working, it means plugin works.

In order to create a chart, be sure you are clicking all buttons in order from top to bottom.

Greetings from Buenos Aires,
David de Argentina

Re: hpwSimpleGraph

PostPosted: Fri Sep 26, 2014 10:04 am
by David de Argentina
This sample shows how to create a chart with all actions in one button

Syntax: [ Download ] [ Hide ]
Using Neobook Syntax Highlighting
NBW Publication Source File
(C)2014 NeoSoft Corp.
Title=Publicación de NeoBook sin título
Language=US
NeoBookVer=5.80
ScreenColors=16777216
ScreenWidth=640
ScreenHeight=480
BkndColor=0
ScreenAutoSize=Yes
LinkColor=16711680
WindowStyle=0
WindowOrder=0
WindowPos=0
WindowProps=31
BiDiMode=0
UseUpdateTimer=Yes
ReturnTime=60
ShapeTransColor=536870912
SplashProps=3
CompileType=0
MediaType=0
FilesIncluded=1
FontsIncluded=2
CopyExternalFiles=No
SetupMedia=3
SetupInstDir=C:\MiPrograma
SetupTitle=Instalación
SetupColors=16711680|0|65535
VersionMajor=1
VersionMinor=0
VersionRelease=0
VersionBuild=0
ReqExLevel=1
CustomFontName=Arial
CustomFontSize=9
CustomFontStyle=0
CustomCharset=1
CacheSize=30
ExtractOp=132
L_OK=Aceptar
L_CANCEL=Cancelar
L_YES=Sí
L_NO=No
L_CLOSE=Cerrar
L_ERRORTITLE=Error
L_FINDTITLE=Búsqueda
L_FINDPROMPT=&Buscar
L_FINDFIRST=Buscar &primero
L_FINDNEXT=Buscar &siguiente
L_FINDERROR=No se encontró el texto solicitado.
L_PWORDTITLE=Contraseña.
L_PWORDMSG=Antes de continuar, debe|introducir la contraseña correcta.
L_PWORDPROMPT=&Contraseña:
L_PWORDERROR=¡Contraseña incorrecta!
L_MEDIAERROR=Para ejecutar este tipo de archivo, debe instalar el equipo y/o programa multimedia apropiado.
L_INTERNETERROR=No se encontró un Navegador de Internet.
L_ABORTFUNCTION=¿Desea cancelar?
L_EXTRACTERROR=El archivo no pudo extraerse, y no podrá ejecutarse.
L_INSTDIRPROMPT=Por favor, introduzca la ruta donde desea instalar el programa. Pulse <ENTER> para aceptar la ruta predeterminada.
L_INSTFOLDERPROMPT=¿Desea crear una carpeta en Menú Inicio/Programas?
L_INSTRUNPROMPT=¿Desea ejecutar
L_INSTDISKPROMPT=Por favor, inserte el disco #.
L_INSTDISKERROR=Este disco no es el correcto. Intente con otro.
L_INSTGENERROR=Instalación completada.
L_INSTEXITPROMPT=Se ha producido un error durante la instalación. ¿Desea cancelarla?
L_INSTWINTITLE=Instalación
L_INSTPROGTITLE=Extrayendo archivos...
L_SENDEMAIL=Enviando correo...
L_MAILSERVER=Por favor, introduzca el nombre de su servidor SMTP de correo electrónico saliente:
L_COPY=Copiar al Portapapeles
L_SELECTALL=Seleccionar todo
L_DONWLOADFILE=Descargar: %s
L_PLEASEWAIT=Por favor, espere...
TrayMenuBegin
MenuName=TrayOpen
MenuText=Abrir
MenuState=3
MenuKey=0
MenuAction=SetVar "[WindowState]" "Normal"
MenuName=TrayExit
MenuText=Salir
MenuState=3
MenuKey=0
MenuAction=Exit "" ""
MenuEnd
MasterPage
NewPage=Nueva página
PageStyle=0
PageColor=16777215
PageGradient1=16711680
PageGradient2=255
PageGradientDir=1
WallpaperStyle=0
EffectSpeed=0
PgExitAction=. Usage:¶. ae_Graph_DeleteChart "[nCtrlID]"¶. Where [params] are:¶. nCtrlId = identifier of the chart (usually 100)¶ae_Graph_DeleteChart "2000"¶¶ae_Graph_EndChart "[h]"
ObjectType=5
Name=Rectangulo2
X=190
Y=19
W=440
H=440
Anchor=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
TabOrder=1
ObjectType=3
Name=Boton33
X=15
Y=36
W=160
H=85
Anchor=0
Text=All Functions together
Align=2
ImageStyle=0
XPTheme=Yes
ObjAction=GetObjectHandle "Rectangulo2" "[h]"GetObjectInfo "Rectangulo2" "Width" "[x]"GetObjectInfo "Rectangulo2" "Height" "[y]"¶¶. Usage:¶. ae_Graph_CreateChart "[params]"¶¶. Where [params] are:¶. nParentHndl = handle of the rectangle¶. nCtrlId = identifiquer of the chart (usually 2000)¶. nX = Left of the chart¶. nY = Top of the chart¶. nWidth = width of the chart¶. nHeight = height of the chart¶. nBackColor = Background Color (as &HFFFFFFFF Format )¶.              &HFFFEFFFF is Transparent¶. nCtrlStyle = Style of the chart. Can be:¶.    RMC_CTRLSTYLEFLAT = 0¶.    RMC_CTRLSTYLEFLATSHADOW = 1¶.    RMC_CTRLSTYLE3D = 2¶.    RMC_CTRLSTYLE3DLIGHT = 3¶.    RMC_CTRLSTYLEIMAGE = 4¶.    RMC_CTRLSTYLEIMAGETILED = 5¶. nExportOnly = If TRUE (1) the chart cannot be displayed on the screen. Default FALSE (0)¶. sBgImage = The full name of the file for the background image, if you choose as nCtrlStyle¶.            RMC_CTRLSTYLEIMAGE (4) or RMC_CTRLSTYLEIMAGETILED (5)¶. sFontName = By Default "Tahoma"¶. nToolTipWidth = The width of the tooltip¶. nBitmapBKColor = Let "0"¶¶ae_Graph_CreateChart "[h]|2000|0|0|[x]|[y]|#FFFFFE|5|0|[Pubdir]paper.jpg|Arial|50|0"¶¶. Usage:¶. ae_Graph_AddRegion "[params]"¶¶. Where [params] are:¶¶. nCtrlId = identifier of the chart (usually 2000)¶. X = Left of the Region¶. Y = Top of the Region¶. nWidth = width of the Region¶. nHeight = height of the Region¶. sFooter = Footer which will be printed at the region's bottom.¶.           As default, the footer is printed in 7 point in the most lower,¶.           right edge of the region. But you can set the font's size and weight¶.           and the alignment of the footer: add a backslash (\) at the end of the text,¶.           followed by a number (for the font's size) and/or char b (for bold)¶.           and/or one of the chars "lcr" (for the footer's alignment left, center or right).¶.           Example: "This is the footer\9bl" will print the text in 9 points, bold and left aligned.¶.                    "This is the footer\c" will print it in in 7 point (default) center aligned¶¶¶. nShowBorder = If TRUE, a border will be painted around the region.¶.               This can be usefull in design mode, when designing a chart with more then one region.¶.               If omitted or 0: FALSE (no border)¶¶ae_Graph_AddRegion "2000|0|0|[x]|[y]|Made With NeoBook\8r|1"¶¶. Usage:¶. ae_Graph_AddGridlessSeries "[params]"¶¶. Where [params] are:¶¶. nCtrlId = identifier of the chart (usually 2000)¶. nRegion = identifier of the region¶. DataSeries = Like "80, 20, 65, 33"¶. ColorSeries = Like "&HFFFAEBD7,&HFF669933,&HFF5F9EA0,&HFF993366" or "0" To Default Colors¶. nStyle = can be:¶.          RMC_PIE_FLAT = 51¶.          RMC_PIE_GRADIENT = 52¶.          RMC_PIE_3D = 53¶.          RMC_PIE_3D_GRADIENT = 54¶.          RMC_DONUT_FLAT = 55¶.          RMC_DONUT_GRADIENT = 56¶.          RMC_DONUT_3D = 57¶.          RMC_DONUT_3D_GRADIENT = 58¶.          RMC_PYRAMIDE = 59¶.          RMC_PYRAMIDE3 = 60¶. nAlignment = can be:¶.              RMC_FULL = 1¶.              RMC_HALF_TOP = 2¶.              RMC_HALF_RIGHT = 3¶.              RMC_HALF_BOTTOM = 4¶.              RMC_HALF_LEFT = 5¶. nExplodeMode = If -1, the smallest pie or donut slice,¶.                if -2 the biggest slice.¶.                if greater than 0, the equivavlent slice will be painted "exploded".¶.                If omitted or 0: nothing explodes.¶.                (Affects only RMC_PIE... and RMC_DONUT... charts, not RMC_PYRAMIDE..¶. nIsLucent = If TRUE, the transparency is switched on, if FALSE not.¶.             If omitted or 0: FALSE.¶.             Transperancy is reasonable only for type RMC_PIE_3D or RMC_DONUT_3D.¶.             with the other styles transparency has no special effect.¶. nValueLabelOn = You can show value labels for each segment¶.                 with the constant RMC_VLABEL_DEFAULT (1) or RMC_VLABEL_PERCENT (5),¶.                 which both show the percent values, or with RMC_VLABEL_ABSOLUTE (6),¶.                 which shows the absolute values, or with RMC_VLABEL_TWIN (7),¶.                 which shows both, the percent and the absolute values.¶.                 If you added a legend to your chart and choosed as legend alignment RMC_LEGEND_ONVLABELS (9),¶.                 but want only the legend texts and no values on the labels,¶.                 choose RMC_VLABEL_LEGENDONLY (8) for the value labels.¶.                 If omitted or 0: RMC_VLABEL_NONE (0)¶. nHatchMode = Normally solid colors are used to fill the segments of the gridless series.¶.              It might be usefull (specially when printing) to fill the segments¶.              with a hatch brush instead of a solid brush. In this case use this parameter.¶.              There are three possible values:¶.                    RMC_HATCHBRUSH_OFF (0): Only solid brushes are used to fill the objects. This is the default.¶.                    RMC_HATCHBRUSH_ON (1): Hatch brushes instead of solid brushes are used to fill the objects. Ten different hatch brushes are defined in an internal array. Series 1 gets the first brush, series 2 the second and so on.¶.                    RMC_HATCHBRUSH_ONPRINTING (2): If showing the chart on the screen (or exporting it to a bitmap), solid brushes are used. If sending the chart to the printer, hatch brushes are used.¶.              Hatch brushes should only be used with the non-gradient styles.¶.              It's nearly impossible to find a good balance between the gradient effect¶.              and the hatch brushes, and if it might be ok for the screen, it's not ok for the printer.¶.              Also use hatch brushes only with the more lighter colors, not with the dark ones.¶. nStartAngle = In case of 2D Pies or Donuts, you can define the start angle for the first slice,¶.               in degrees from 0 (which is default) to 360 (which is the same as 0).¶¶.First Series¶ae_Graph_AddGrid "2000|1|#FAF0FF|1|0|0|0|0|0"¶¶.usage¶. ae_Graph_AddDataAxis  "[params]"¶¶.where [params] are:¶¶.nCtrlId = identifier of the chart (usually 2000)¶.nRegion = identifier of the region¶.Align = Can Be:¶.        Left = 1¶.        Right = 2¶.        Top = 3¶.        Bottom = 4¶.Min = Minimum value of the data axis.¶.Max = Maximum value of the data axis.¶.TickCount = Number of horizontal or vertical (in case of horizontal bar charts)¶.            lines and, in conjunction, of labels of the data axis. If omitted or 0: 11¶.FontSize = Fontsize of the data labels. If omitted or 0: 8¶.TextColor = Like #090503¶.LineColor = Like #000000¶.LineStyle = Can Be:¶.            Solid = 1¶.            Dash = 2¶.            Dot = 3¶.            DashDot = 4¶.            None = 6¶.Decimals = The number of decimal digits (between 0 and 9), which shall be used for printing the labels.¶.Units = Unit which will be painted behind the labels (like , $, EURO and so on), maximum length is 15 chars.¶.Text = Text for illustrations of the data axis, maximum length is 100 chars.¶.       If the data axis has alignment of LEFT (1), the text is drawn vertically from bottom to top.¶.       If the alignment is RIGHT (2), the text is painted vertically from top to bottom.¶.       In other cases (3 or 4) it is painted horizontally.¶.       As default the text will be printed in the same fontsize as defined in parameter nFontSize.¶.       But you can set the font's size and weight independently: add a backslash (\) at the end of the text¶.       followed by a number and/or the char b, if you want to have the text printetd bold.¶.       Example: "This is the text\12b" will print the text in 12 points and bold.¶.       This is the text\b" will print it in the same size as the labels, but bold¶.Labels = On default the labels of the data axis are numeric ones,¶.       which get calculated from parameters nMinValue and nMaxValue in conjunction with nTickcount.¶.       Instead of these numeric values you can have string labels: the labels must be separated either¶.       with * or | ("Label1*Label2*Label3"). The maximum length of each label can be 50 chars.¶.       Note: If you don't want any labels, simply pass one single dash (-),¶.       which prevents also painting of the numeric labels.¶¶.LabelAlign = Can be:¶.             TextCenter: 0¶.             TextLeft = 1¶.             TextRight = 2¶.             TextDownward = 3¶.             TextUpward = 4¶¶¶ae_Graph_AddDataAxis  "2000|1|1|0|100|11|8|#000000|#000000|3|0||||0"¶¶.Usage:¶.ae_Graph_AddLabelAxis "[params]"¶¶.where [params] are:¶¶.nCtrlId = identifier of the chart (usually 2000)¶.nRegion = identifier of the region¶.Labels = String with the axis' labels. The labels must be separated either with * ("Label1*Label2*Label3").¶.         The maximum length of each label can be 50 chars.¶.         You can pass an empty string, then no labels will be drawn.¶.AxisCount = Number of label axes (1 or 2). If omitted or 0: 1¶.TickCount = Number of vertical or horizontal (in case of horizontal bar charts) lines.¶.            This is an important parameter because it determines at last the number of data columns.¶.            If you want to have for example 10 single bars and each of them¶.            shall have an own label on the label axis, you must set this parameter to 10.¶.            If parameter sLabels holds 10 label texts you can omit this parameter,¶.            because then the number of labels will determine.¶.Alignment = Can be:¶.            LabelISLeft = 5¶.            LabelISRight = 6¶.            LabelISTop = 7¶.            LabelISBottom = 8¶.FontSize = Fontsize of the labels in points. If omitted or 0: 8 point¶.TextColor = Like #030507¶.TextAlign = Can be:¶.            TextCenter: 0¶.            TextLeft = 1¶.            TextRight = 2¶.            TextDownward = 3¶.            TextUpward = 4¶.LineColor = like #090807¶.LineStyle = Can Be:¶.            Solid = 1¶.            Dash = 2¶.            Dot = 3¶.            DashDot = 4¶.            None = 6¶.Text = Text for illustrations of the data axis, maximum length is 100 chars.¶.       If the data axis has alignment of LEFT (1), the text is drawn vertically from bottom to top.¶.       If the alignment is RIGHT (2), the text is painted vertically from top to bottom.¶.       In other cases (3 or 4) it is painted horizontally.¶.       As default the text will be printed in the same fontsize as defined in parameter FontSize.¶.       But you can set the font's size and weight independently: add a backslash (\) at the end of the text¶.       followed by a number and/or the char b, if you want to have the text printetd bold.¶.       Example: "This is the text\12b" will print the text in 12 points and bold.¶.       This is the text\b" will print it in the same size as the labels, but bold¶¶¶ae_Graph_AddLabelAxis  "2000|1|Jan*Feb*Mar*Apr|1|4|8|8|#000000|0|#000000|1|"¶¶¶.Usage:¶.ae_Graph_AddBarSeries "[params]"¶.where [params] are:¶¶.nCtrlId = identifier of the chart (usually 2000)¶.nRegion = identifier of the region¶.Data = Data values with the asterisk (*) as separator¶.Type: Can be:¶.      BARSINGLE = 1¶.      BARGROUP = 2¶.      BARSTACKED = 3¶.      BARSTACKED100 = 4¶.      FLOATINGBAR = 5¶.      FLOATINGBARGROUP = 6¶.      Observations: FLOATINGBAR and FLOATINGBARGROUP are special bars:¶.      they don't start necessarily at the origin of the data axis, but can have their own starting point.¶.      Therefore you must always pass a data pair for each bar,¶.      consisting of a value for the starting point and a second value for the length of the bar.¶.      Example: Imagine the data axis has a range from 1 to 10 and you want to draw a floating bar¶.      which starts at 2 and ends at 9. In this case you must pass the data pair 2,7 for this bar.¶.Style: Can be:¶.           BAR_FLAT = 1¶.           BAR_FLAT_GRADIENT1 = 2¶.           BAR_FLAT_GRADIENT2 = 3¶.           BAR_HOVER = 4¶.           COLUMN_FLAT = 5¶.           BAR_3D = 6¶.           BAR_3D_GRADIENT = 7¶.           COLUMN_3D = 8¶.           COLUMN_3D_GRADIENT = 9¶.           COLUMN_3D_FLUTED = 10¶.IsLucent: If 1, the transparency of the bars is switched on, if 0 the bars are opaque.¶.Color = Like #345678¶.IsHorizontal = If 1, the bars are drawn horizontal, if 0, vertical.¶.WhichDataAxis = Decides, to which data axis the series is connected.¶.                1 for the first, 2 for the second axis (if existent).¶.                First and second means the order, in which the axis via AddDataAxis() was added¶.                to the region. If omitted or 0: 1¶.ValueLabelOn = Can be:¶.                      VLABEL_NONE = 0¶.                      VLABEL_DEFAULT = 1¶.                      VLABEL_PERCENT = 5¶.                      VLABEL_ABSOLUTE = 6¶.                      VLABEL_TWIN = 7¶.                      VLABEL_LEGENDONLY = 8¶.                      VLABEL_DEFAULT_NOZERO = 11¶.                      VLABEL_PERCENT_NOZERO = 15¶.                      VLABEL_ABSOLUTE_NOZERO = 16¶.                      VLABEL_TWIN_NOZERO = 17¶¶.              If the series type is BARSINGLE or BARGROUP: VLABEL_DEFAULT or VLABEL_ABSOLUTE,¶.              which both show the absolute value of each bar.¶¶.              If the series type is BARSTACKED: VLABEL_DEFAULT or VLABEL_ABSOLUTE¶.              will both show the absolute value of each bar, VLABEL_PERCENT shows the percent value¶.              and VLABEL_TWIN shows both, absolute and percent values.¶¶.              If the series type is BARSTACKED100: VLABEL_DEFAULT or VLABEL_PERCENT¶.              will both show the percent value of each bar,¶.              VLABEL_ABSOLUTE shows the absolute value and VLABEL_TWIN shows both,absolute and percent values.¶¶.PointsPerColumn = How many data points shall be painted in each existent column. If omitted or 0: 1¶.HatchMode = leave 0¶¶ae_Graph_AddBarSeries "2000|1|80,40,20,90|2|7|1|#5990FF|0|0|6|1|0"¶ae_Graph_AddBarSeries "2000|1|45,64,36,82|2|7|1|#FFB05B|0|0|6|1|0"¶ae_Graph_AddBarSeries "2000|1|50,20,62,32|2|7|1|#BB3F7B|0|0|6|1|0"¶¶¶.. Usage:¶. ae_Graph_Draw "[nCtrlID]"¶. Where [params] are:¶. nCtrlId = identifier of the chart (usually 2000)¶. nRegion = identifier of the region¶. Caption = Text of the caption¶. BKColor = Back Color of the Caption¶. TextColor = Text Color of the Caption¶. FontSize = The size of the font¶. FontBold = 0:False; 1:True¶ae_Graph_AddCaption "2000|1|Group Bar Series Title|#FFFFFE|#EE6F6E|10|1"¶¶. Usage:¶. ae_Graph_Draw "[nCtrlID]"¶. Where [params] are:¶. nCtrlId = identifier of the chart (usually 2000)¶¶ae_Graph_Draw "2000"
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
Font=Arial
FontSize=9
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=2
Parsed in 0.033 seconds, using GeSHi 1.0.8.10


My devaluated cent,
David de Argentina

Re: hpwSimpleGraph

PostPosted: Fri Sep 26, 2014 7:13 pm
by yanzco
got it to work.. did not know i had to press all buttons from top to bottom.. thanks! :D

hpwSimpleGraph

PostPosted: Tue Jun 23, 2015 12:30 pm
by HPW
Just released hpwSimpleGraph 1.35:

http://www.hpwsoft.de/anmeldung/html1/n ... ook19.html

Action: hpwSimpleGraphUnSelectObj with parameter: 'ALL' or one or more unique ID (pipe).

I was asked about this logical missing action, so here it is.

Regards