Hi Raju,

The charts and graphs were always in a Beta state, as indicated on the pages
of the Reference Manual, and they were never brought forward to swf10.

This would be a great community project if someone wanted to take a pass at
them.

There are actually two charting and graphing efforts within OL:
1) http://svn.openlaszlo.org/openlaszlo/trunk/lps/components/charts is what
these examples refer to and have not been moved forward

2) http://svn.openlaszlo.org/openlaszlo/trunk/lps/components/queens-charts/was
a redesign effort that never made it past beta, but had some really
nice
features.  There is an API proposal here:
http://wiki.openlaszlo.org/Charting_API_Change_Proposal. It was mostly
implemented, but was never brought forward to swf10 or moved into the source
tree. The include still defaults to the old version, but it would be great
if someone could make these current and contribute them to OL.

Thanks,
Amy

On Tue, Jan 11, 2011 at 7:25 AM, Raju Bitter <
[email protected]> wrote:

> Calling
> http://localhost:8080/trunk/test/charts/barchart/test_bar_01.lzx?lzoptions=runtime(swf10),proxied(true)<http://localhost:8080/trunk/test/charts/barchart/test_bar_01.lzx?lzoptions=runtime%28swf10%29,proxied%28true%29>on
>  trunk, I get many errors. Are you aware of this?
>
> Compilation Errorsorg.openlaszlo.sc.CompilerError: charts/common/axis.lzx:
> 107: Error: A conflict exists with inherited definition
> $lzc$class_drawview.scale in namespace public, in line: var
> ticklabelcolumn;var type;var interval;var columnName;var dataSeries;var
> axisEnabled;var categoricalArray;var ratioPixel;var scale;var offset;var
> tickmarkLabelMaxDecimals;var labelReposEnabled;var majorTickEnabled;var
> minorTickEnabled;var majorInterval;var titleLocation;var title;var
> titleX;var titleY;var titleGap;var tickMarkPositions;var labelTextArray;var
> labelArray;var minimum;var maximum;var minimumRender;var maximumRender;var
> adjustmin;var tickMarksLabelsEnabled;var labelrotation;var _labelspool;var
> fixedRange;var tickMarksView;var objStroke;var titleView;function renderTick
> () {
> charts/styles/styleparser.lzx: 41: Error: Access of undefined property
> lParser, in line: lParser = new (lz.styleparser)(this, {defaultstyle:
> this.defaultstyle.subnodes[this.increment], style: this.style})
> charts/styles/styleparser.lzx: 43: Error: Access of undefined property
> lParser, in line: lParser = new (lz.styleparser)(this, {defaultstyle:
> this.defaultstyle.subnodes[this.increment], style: this.style[
> this.defaultstyle.name]})
> charts/styles/styleparser.lzx: 49: Error: Access of undefined property
> lParser, in line: lParser = new (lz.styleparser)(this, {defaultstyle:
> this.defaultstyle.subnodes[this.increment], style:
> this.style[this.defaultstyle.subnodes[this.increment].name]})
> charts/common/chart.lzx: 150: Error: Access of undefined property both, in
> line: this.chartBackground.setAttribute("stretches", both)
> charts/common/virtualdrawview.lzx: 85: Error: Incompatible override, in
> line: override function moveTo ($0, $1) {
> charts/common/virtualdrawview.lzx: 93: Error: Incompatible override, in
> line: override function lineTo ($0, $1) {
> charts/common/virtualdrawview.lzx: 101: Error: Incompatible override, in
> line: override function quadraticCurveTo ($0, $1, $2, $3) {
> charts/styles/strokestyle.lzx: 61: Error: Access of undefined property
> xinc1, in line: xinc1 = 1;
> charts/styles/strokestyle.lzx: 62: Error: Access of undefined property
> xinc2, in line: xinc2 = 1
> charts/styles/strokestyle.lzx: 64: Error: Access of undefined property
> xinc1, in line: xinc1 = -1;
> charts/styles/strokestyle.lzx: 65: Error: Access of undefined property
> xinc2, in line: xinc2 = -1
> charts/styles/strokestyle.lzx: 69: Error: Access of undefined property
> yinc1, in line: yinc1 = 1;
> charts/styles/strokestyle.lzx: 70: Error: Access of undefined property
> yinc2, in line: yinc2 = 1
> charts/styles/strokestyle.lzx: 72: Error: Access of undefined property
> yinc1, in line: yinc1 = -1;
> charts/styles/strokestyle.lzx: 73: Error: Access of undefined property
> yinc2, in line: yinc2 = -1
> charts/styles/strokestyle.lzx: 77: Error: Access of undefined property
> xinc1, in line: xinc1 = 0;
> charts/styles/strokestyle.lzx: 78: Error: Access of undefined property
> yinc2, in line: yinc2 = 0;
> charts/styles/strokestyle.lzx: 79: Error: Access of undefined property den,
> in line: den = $6;
> charts/styles/strokestyle.lzx: 80: Error: Access of undefined property num,
> in line: num = $6 / 2;
> charts/styles/strokestyle.lzx: 81: Error: Access of undefined property
> numadd, in line: numadd = $7;
> charts/styles/strokestyle.lzx: 82: Error: Access of undefined property
> numpixels, in line: numpixels = $6
> charts/styles/strokestyle.lzx: 84: Error: Access of undefined property
> xinc2, in line: xinc2 = 0;
> charts/styles/strokestyle.lzx: 85: Error: Access of undefined property
> yinc1, in line: yinc1 = 0;
> charts/styles/strokestyle.lzx: 86: Error: Access of undefined property den,
> in line: den = $7;
> charts/styles/strokestyle.lzx: 87: Error: Access of undefined property num,
> in line: num = $7 / 2;
> charts/styles/strokestyle.lzx: 88: Error: Access of undefined property
> numadd, in line: numadd = $6;
> charts/styles/strokestyle.lzx: 89: Error: Access of undefined property
> numpixels, in line: numpixels = $7
> charts/styles/strokestyle.lzx: 92: Error: Access of undefined property
> curpixel, in line: for (curpixel = 0;curpixel <= numpixels;curpixel++) {
> charts/styles/strokestyle.lzx: 104: Error: Access of undefined property
> num, in line: num += numadd;
> charts/styles/strokestyle.lzx: 104: Error: Access of undefined property
> num, in line: num += numadd;
> charts/styles/strokestyle.lzx: 104: Error: Access of undefined property
> numadd, in line: num += numadd;
> charts/styles/strokestyle.lzx: 105: Error: Access of undefined property
> num, in line: if (num >= den) {
> charts/styles/strokestyle.lzx: 105: Error: Access of undefined property
> den, in line: if (num >= den) {
> charts/styles/strokestyle.lzx: 106: Error: Access of undefined property
> num, in line: num -= den;
> charts/styles/strokestyle.lzx: 106: Error: Access of undefined property
> num, in line: num -= den;
> charts/styles/strokestyle.lzx: 106: Error: Access of undefined property
> den, in line: num -= den;
> charts/styles/strokestyle.lzx: 107: Error: Access of undefined property
> xinc1, in line: $8 += xinc1;
> charts/styles/strokestyle.lzx: 108: Error: Access of undefined property
> yinc1, in line: $9 += yinc1
> charts/styles/strokestyle.lzx: 110: Error: Access of undefined property
> xinc2, in line: $8 += xinc2;
> charts/styles/strokestyle.lzx: 111: Error: Access of undefined property
> yinc2, in line: $9 += yinc2
> charts/styles/strokestyle.lzx: 92: Error: Access of undefined property
> curpixel, in line: for (curpixel = 0;curpixel <= numpixels;curpixel++) {
> charts/styles/strokestyle.lzx: 92: Error: Access of undefined property
> curpixel, in line: for (curpixel = 0;curpixel <= numpixels;curpixel++) {
> charts/styles/strokestyle.lzx: 92: Error: Access of undefined property
> numpixels, in line: for (curpixel = 0;curpixel <= numpixels;curpixel++) {
> charts/piechart/piepiece.lzx: 59: Error: Access of undefined property
> sigma, in line: sigma = $2 + $c * $h;
> charts/piechart/piepiece.lzx: 63: Error: Access of undefined property
> sigma, in line: $6 = $4 * Math.cos(sigma * Math.PI / 180);
> charts/piechart/piepiece.lzx: 64: Error: Access of undefined property
> sigma, in line: $7 = $4 * Math.sin(-sigma * Math.PI / 180);
> charts/piechart/piepiece.lzx: 68: Error: Access of undefined property
> sigma, in line: $8 = $6 + $4 * $f * Math.cos((sigma - 90) * Math.PI / 180);
> charts/piechart/piepiece.lzx: 69: Error: Access of undefined property
> sigma, in line: $9 = $7 + $4 * $f * Math.sin(-(sigma - 90) * Math.PI / 180);
> .... more than 50 errors, additional errors not shown.
>

Reply via email to