here's a new release of foxcharts
visual foxpro 9 and the gdiplusx library from vfpx
as you can see, 2 new charts are now available:
- stacked area
- the stackedarea chart can be defined using the "charttype" property, that must be set to the numeric 10
- the cylinder chart is derived from the original bars chart. to have it, select charttype for the bar option, and then set the bartype property to numeric 1 (0 = bar default; 1 = cylinder)
apart from this, many other important modifications were applied:
the main difference is that now foxcharts' base class is a container, that contains the gdiplusx imagecanvas, and the legend objects, responsible for drawing all the text needed.
now we can customize any of those labels in lots of ways. every piece of text, legend in the chart now has the following properties:
alignment - 0 left; 1 right; 2 center
backcoloralpha - this is cool, (0-255) determines the transparency of the background of the label
forecoloralpha - determines the transparency of the label
the legends are represented by the following objects:
this way, every piece of text in the chart can be fully customized, not only the font, but the backcolor and the alpha (transparency). now you can also change the alignment of the text, for example, to set the title to right alignment, all you have to do is to:
thisform.foxcharts1.title.alignment = 1 && right
i still need to remind you that this is still a preview version, destined for people that are interested in helping testing this tool.
please continue sending your suggestions and feedback!
it is really very appreciated
contains the alpha version of the foxcharts project.
unzip the file and run the form chartssample to see how it works.
this version also distributes the two main files from gdiplusx - system.app and gdiplusx.vcx.
if you are already a gdiplusx user, you can use your own gdiplusx version.
just make sure to be using the latest gdiplusx version.
gdiplusx is also a vfpx project. for more information, please visit the gdiplusx page at vfpx.
more information and pictures about this project can be obtained at the vfpimaging weblog:
this new release contains lots of enhancements:
- bar charts
- multiple bars
- stacked bars
- stacked area
- points and shapes
- basic colors
- custom colors
- gradient colors
- random colors
- gradient or solid colors
legends in many places: axys, shapes, side legends
- backgrounds (solid or gradient)