PDA

View Full Version : Some work with laszlo charting component


readchild
09-26-2005, 07:28 AM
When I worked in the Trilogy company last month, I invested the developping charting component of openlaszlo.
I found the following weakness of the charting component:
1.only 2 types of line (I add 3 more types of line)
2.only 3 shapes of point (I add 4 more shapes of point)
3.donot support date value (I support the input and out show of x-axis to be datetime)
4.cannot show 2 y axis at both ends of the x axis(I do some modification to support the y-axis at both end of x-axis)
5.legend item is wake, it is just square with color, cannot be the same with the point (I make the legend item can be shown the same as valuepoint)
6.no policy to define chart style acording to some rules (I add some function to generate the chart styles according to some policy)
...

After 2 months working, I solved most of these problems with minor modification on the charting component.

Here are some screenshots about my work. And I'd like to contribute my source to you, but I do not find a easy way. Can you give me some tips?

d~l
09-26-2005, 08:11 AM
your *.bmp file is corrupted .. try posting a *.jpg file for us to see.

readchild
09-26-2005, 08:09 PM
Only show a few modifications in this jpg

crg
09-28-2005, 07:44 AM
I bet you could publish it to mylazslo.com. Click on "post your app" and follow the instructions. I'm sure I could find a use for it at some point down the road.

BTW - The screenshot looks good!


-russ

zerogrep
10-01-2005, 01:04 PM
The charting component looks good. I would definitely upload it as a mylaszlo app. Just post reply with the source code. I am sure Antun will post it to mylaszlo. It may end up in a openlaszlo source distribution.

zg.

Cort
10-02-2005, 05:14 AM
Hi Readchild,

Glad to see you contributing to these components. I'm sure your additions will be appreciated.

There is a short description of the process here, basically all you have to do is sign the contributors agreement and mail in the patch.

http://www.openlaszlo.org/wiki/Patch_Guidelines

Thanks for your work,

-Cort

readchild
10-03-2005, 05:52 AM
I am very glad that you like it. I am sorry I am a little busy recent days and donot reply to all of you fast. I am writing some documentation now and what is more, I am trying to get the permission from the company, I am sure I can soon get it. :)

As soon as I get the permission, I will post my source code here.

Really sorry for replying so late.

readchild
10-03-2005, 08:18 AM
Hi, everyone
I do some work on the laszlo charting component mainly
Add A second y-axis to the component.
Enhance the legend, now legend can show the line types, point shapes and colors acording to your input (can show same thing as the points and lines in the chart), also you can generate it automaticly acording to some rules.
Add more point shapes and line types
Create the method for defining the styles of charts aotumaticly
Create the method for generating charts' data acording to some keys
You can use datetime as input and output on x-axis now
......

The attachment is my source code of the charting component. I do my work on the developing Laszlo charting component. There is some introduction files in the attachment. You can read that.
I wrote the words in the readme file of the distribution. Here I want to say again.

I want to show my appreciation to Trilogy company, they gave me this chance to do the work.
I want to show my appreciation to Ratish Prasad, Satish Vohra, Pramod KT, Pradeep Jain, Deborah Ingram, Pavan Kumar, Rency Mathew, Smitha Kumar and all the interns of jtu2k5. They really helped me a lot. Especially Ratish and Satish, they encouraged me to contribute my code to the laszlo community.
I hope you like my work and you can make use of it, really!

Any question, you can mail to me. Also you can make a conversation to me through msn or gtalk, I left them in the readme.txt in the attachment.
Do I need to contribute my code in an official way or the present way is ok?

Thanks,
Richard (Li Ruichao).

Cort
10-03-2005, 10:07 AM
Hi Li,

It's very important that you sign the contributor's agreement and either mail or fax it in. Otherwise the openlaszlo folk won't be able to check in the changes.

Thanks for doing this.

-Cort

readchild
10-04-2005, 11:23 PM
I have sent the Contributors Agreement to the specific address by email.

Hope you can use it. :)