Howdy, Jean-Pierre!
You can download it here - http://www.garybeene.com/sw/gbchartmaster.htm
There is no DLL. I separated the charting source code into an INC file, however, to make it easier to use in a PowerBASIC app.
I once intended to create a DLL, but other tasks took my attention away!
Announcement
Collapse
No announcement yet.
gbChartMaster - Discussion
Collapse
X
-
Originally posted by Gary Beene View PostHere's my current gbChartMaster GoDo List:
Creating a DLL is the primary thing I want to try in the next release. The other items on the list matter, but are secondary to the DLL.
Can you tell me where I can download the latest version of gbChartMaster ? is a DLL available ?
Thanks,
Jean-Pierre
Leave a comment:
-
Gary,
The reason for pyramids is because the "investment pyramid" is used in several financial planning certification courses and some financial advisers then decide to use it in their presentations. It's the old story... give 'em what they want.
Leave a comment:
-
Hey Michael,
Just looked at your code. I apparently didn't take a closer look at it when you posted the first time.
And yes, the jumping in your graph size is what I saw with my earlier code as well. The huge advantage of letting it jump is that when you're ready to use the chart, it looks better when there are many bars close together. Whereas avoiding the jumping and trying to get smoother resizing is more of a feel-good for the user while playing with the application.
When bar count is small or the dialog is very wide, the differences become less important.
I may revisit my code to allow the option to choose either approach.
Leave a comment:
-
Hi Micheal!
I like the pyramids. I can't say as I've run across that approach before.
... method had to be incorporated to maintain uniform bar thickness,
... resizing would only occur when the overall width had changed exactly the number of vertical bars in the presentation. Without uniform bar thickness, the window presentation does not look very good.
Leave a comment:
-
Gary,
Great work!
When drawing bar charts on the screen it became very obvious that some method had to be incorporated to maintain uniform bar thickness, especially where there were lots of bars. For example, see my "Historical Stock Market Performance" post of November 24th, which takes that into account(also demonstrates log scaling).
In that, and subsequently all bar construction routines I use, I opted to use an algorithm where horizontal resizing would only occur when the overall width had changed exactly the number of vertical bars in the presentation. Without uniform bar thickness, the window presentation does not look very good.
When using a printer with at least 300 dpi resolution, this algorithm is not needed, although I use it anyway because at 300 dpi or more, the impact of this algorithm is minimal, yet preserves the WYSIWYG accuracy versus the window view.
In my experience, some of my users have indicated a preference for pyramids versus pies. This might possibly be another option you could add to your DLL in the future. Attached is a window from one of my programs demonstrating this. Please note that in order to maintain visual accuracy, the pyramid allocations are determined by frontal surface area, NOT the height.
Leave a comment:
-
Hello, Francisco!
You're quite welcome!
Please be sure to let me know of any issues that you see.
For example, I know that when I rotate a pie section beyond 360 degrees, that the mouse-over code doesn't correctly show the pie section details in the statusbar. I'm interested in hearing about any and all glitches you see, as well as suggestions for additional features.
Leave a comment:
-
EXCELLENT!!!
Many, many, many, many thanks Gary for the work you share.
I cannot thank you enough!
Leave a comment:
-
Here's my current gbChartMaster GoDo List:
- DLL
- Anti-aliasing on more than line charts
- OpenGL Version
- 3D pie explosion/selection/rotation improvements
- Custom line chart symbols
- support for -Y axis values
Creating a DLL is the primary thing I want to try in the next release. The other items on the list matter, but are secondary to the DLL.
Leave a comment:
-
gbChartMaster v2.0 has been released and is ready for download.
Some images of the new pie chart features ...
Pie charts support provides the largest number of new features:- Pie Charts (up to 3 datasets per chart)
- Select section(s) of the chart
- Explode pie chart section selections
- 2D and 3D charts
- Legends
- Rotate pie charts
- Gradient charts (light center, full color at perimeter)
- Circle or ellipse shapes
- Hide unselected pie sections
- External labels
- Internal % labels
In addition, other new features have been added:- Font size selection simplified (can scroll to get wanted size)
- Onscreen mouse instructions
- Onscreen margins
- Grid on Top
- Line Styles dot/dash
- Default pie colors
- Smooth lines Bezier
- Speed test
- Stacked bar labeling improvements
Example of line smoothing:
A special thanks is owed to everyone who helped out on several threads (3D pie, angle intersection and rectangle rounding) that were related to the pie chart and other new features of gbChartMaster.
Michael Boho was especially helpful with his many code examples on a 3D pie. I've still not gotten all of the results of his and my discussions built into gbChartMaster, but I'm working on it!
As always, comments and suggestions are welcome!Last edited by Gary Beene; 22 Sep 2015, 12:10 AM.
Leave a comment:
-
Hey, Larry!
I just today realized I may have mis-interpreted something you suggested ...
...export code to create graph
Now that's something I can do easily. The programmer works with gbChartMaster to get the look they want, then they export the SUB INITIALIZECHART procedure that will let their app display that one particular chart with all of the settings they have pre-chosen? Their app would then use the include file or a soon-to-be-released DLL.
Or, did you really mean to suggest that I export the entire subset of my gbChartMaster PowerBASIC statements (as an include) for the programmer to use?
Leave a comment:
-
Thank Gary for this update.
I will do some tests tomorrow and I will keep you informed.
Thanks a lot.
Jean-Pierre
Leave a comment:
-
Jean-Pierre,
I just loaded a v1.11 that added the option to replace Bar Labels with the value of the Bar.
In Stacked Bar charts, I put the sum of the bar values in the stack.
In the HiLo Bar chart, I put the upper and lower values of the bar on the chart.
Please give it a try and see if it meets your request.
Leave a comment:
-
Jean-Pierre,
The Bar Labels = Value ... not ... available.
I just don't have a setting that automatically makes that string assignment for you. I'll follow up with such a setting, but it is something you can implement via code in your app.
Leave a comment:
-
Hi Jean-Pierre!
Glad to hear of your interest in gbChartMaster. I've enjoyed writing it and hope to make further improvements on it.
The Horizontal Bars and Bar Labels = Value are not currently available.
gbChartMaster already has the ability to independently see the color of each bar.
gbChartMaster already has the ability to replace the Axis value with the .alttxt property (See "Alt Text" in the Settings dialog).
I'll take a look at adding the horizontal bars, as well as allowing the Bar Labels to be replaced with the value. The 1st is harder, the 2nd is easier.
Leave a comment:
-
Hi Gary,
Thank you very much for this excellent new piece of software.
I'm looking to replace RMChart in my PB projects. More specifically I'm curious to know if I can generate this kind of bar charts with gbChartMaster:
1. Horizontal bars (vertical bars is already available).
2. Bar labels are replaced by the value of the bar.
3. Axis values are replaced by labels
4. Random colors for the bars
NB: you will find enclosed two examples made with RMChart that I would like to replace with gbChartMaster.
Thanks,
Jean-Pierre
Leave a comment:
-
gbChartMaster v1.1 is now available for download.
Primary New Features:- Main Title positions increased to Left, Center Right
- XTitle positions increased to InlineLeft, Left, Center, Right, InlineRight
- YTitle positions increased to Top, Center, Bottom
- Margins automatically changed to accommodate title position and font size changes
- Save/Open settings (separate from saving charts)
- Anti-Aliasing for Line/2Line/3Line graphs (only for line width = 1)
- Rounded bars (10 different settings)
- Ctrl-M display margins
- Vertical Grid
- Grid Color (used to be 'SoftGrid' only)
- Dotted Grid option
- Bar labels change position when symbol size is changed (line charts)
- HiLo formats added - Bar, Beam, Beam+Symbol
- Optional speed test (time to draw a graph)
- Added current chart type to Statusbar
Other Changes:- Settings Dialog reorganized/resized
- Font added to buttons in Settings Dialog
- Default BM changed. 40 -> 50
- Default LM changed. 100 -> 110
- Default UserData\Alt Text\Bar Labels all changed
- List of possible LM\TM\BM\RM values doubled
- Help image added to online Help button
- Equates added to code to replace hard-coded values
I've not yet updated the Online Help, but all of the changes should be easy to understand by looking at the Settings Dialog. I"ll update Online Help tomorrow.
My thanks to Larry Charlton who suggested many of the changes! A few items he suggested, that I've not done but do have on my list, include:- Stamp Resize and Drag-to-Move
- Additional options on background image stretching
- Export PowerBASIC code to create a graph
- Disable unavailable controls on Settings dialog
As always, if anyone find a problem or has suggestions for further improvements, please speak up! Especially with as many changes as I made this time, I'm definitely interested in whether any of the changes did get implemented correctly, or whether they might have caused unexpected effects!Last edited by Gary Beene; 2 Aug 2015, 11:04 PM.
Leave a comment:
-
But Larry,
I didn't make all of the suggestions happen. Some comments ...
...stamp drag/resize
...BG Stretch
...export code to create graph
...rounded bar
...disable unavailable controls on Settings dialog
Leave a comment:
-
Hey Larry!
Thanks for taking the time to give gbChartMaster a try! Here's what I've done so far - should have a new version out later tonight.
...save/open settings option
...say "Font" in settings dialog
...grid color to replace soft grid
...vertical grid lines
...XTitle
...YTitle
... Have a title, make room for it
While I was there, I added visual options on the HiLo Bar chart ...
Leave a comment:
-
Yesterday, Larry Charlton sent me a PM with some really good suggestions for gbChartMaster. He said I could post his comments ...
Looks like you're having fun!
If you're looking for some feedback / ideas here's a few.
When I adjusted the top margin (TM is top margin?) the title didn't quite adjust appropriately. At 40 and 30 while there was plenty of room for the title, it merged into the graph.
The Horizontal Y-Value seems like it could be a bit higher as well, at smaller margins it was over-writing the graph. It also seemed as though it should right align with the numbers for the Y values when display horizontally.
Be nice if the vertical Y label has Top, Center, Bottom alignment option.
Be nice if the X label alignment had something like left inline, left, center, right, right inline.
Stamps were cool, but it would have been nice to be able to drag and/or resize them.
Annotation might be partially implemented or mis-labeled. At least the way I read it, annotation is the comment often associated with graphical markers of some form (circles, highlights, etc). I think you're calling the graphical markers annotations. Unless you're thought was using the mouse to write a note.
Might be nice to label Chart, Axis, Values area as a Font change. Thought the feature was missing for a while.
Alignment is often Left, Center, Right for horizontal
There was an option for horizontal lines but not vertical lines.
The background image stretches like rubber. Might be nice to add the option of Stretch, Fill, or Fit. where fill and fit preserve x/y ratios and fill uses the smallest of width/height to size and Fit uses the largest.
On the rounded bar, how about either a # of pixels or % of width option for rounding. You could do something like <0 = % >0 = pixels so 3 would be a 3 pixel rounding, -50 would be a fully round top.
You have a softGrid option, how about a grid color option?
From an ease of use standpoint, it would be nice if the left, right, top, and bottom margins adjusted based on features used. (i.e. have a title, make room for it).
I set the line thickness to 19 and did not note any change (I was viewing bars). It might be nice if you only saw features that applied to the graph you're working on or if features unrelated were disabled.
You have an Export feature... How about an Export PB Code feature? I.e. the code it would take to create a graph with the features provided.
Alternatively... How about a save/load settings feature built into the .inc file that allows loading or saving the settings to/from a disk file.
__________________
LarryC
Leave a comment:
Leave a comment: