Source language: Translate to:

Testing a NeoChart plugin

Questions about NeoBook PlugIns

Moderator: Neosoft Support

Postby datadon » Thu Apr 30, 2009 6:09 am

Thanks Dave de..

That works fine. The code that I gave also provides a label just below the graph.

Code: Select all
ae_Graph_AddLabelAxis "2000|1|Label Text Here|1|1|8|8|#000000|0|#000000|1|"


This plugin has some really useful features, it just takes a while to sort out all the string values.

As an aside while I have your on the phone here...

The legend action in the plugin gives a caption example. At least the first part of it.

This is how I use the legend to show 4 items:

Code: Select all
ae_Graph_AddLegend "2000|1|Est Wt*Act Wt*Est Hrs*Act Hrs|6|#FFFFFF|3|#000000|10|1"


It is not clear that it grabs the colors from the bars in the chart going left to right for each of the 4 items I show. |Est Wt*Act Wt*Est Hrs*Act Hrs|

But works well.

Thanks
Don

'If you want to get a brontosaurus from 'a' to 'b' then you ride the dinosaur - you don't carry it!'
User avatar
datadon
 
Posts: 389
Joined: Sun Apr 03, 2005 7:55 pm
Location: Lorena Texas

Postby datadon » Thu Apr 30, 2009 6:17 am

I guess I have one question but I think I already know the answer but will ask anyway.

Is there a way to get a different value to show up on the vertical bars? It would be nice, really nice, if a variable could be used to describe what each bar means. I don't know that it is possble with the current options.

I think it will only display the value of the bar length.
Don

'If you want to get a brontosaurus from 'a' to 'b' then you ride the dinosaur - you don't carry it!'
User avatar
datadon
 
Posts: 389
Joined: Sun Apr 03, 2005 7:55 pm
Location: Lorena Texas

Postby David de Argentina » Thu Apr 30, 2009 10:33 am

Thanks Don,

Could you upload a sample that you are trying to do ?

Thanks in advance,
David de Argentina
User avatar
David de Argentina
 
Posts: 1553
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina

Postby datadon » Thu Apr 30, 2009 10:55 am

If you are refering to my last comment, I do not have a sample because I don't know of a way to do it. If i refer to the chart you posted earlier, if you look at the left blue column in January with the 80 value at the top.

That info is nice, but it woud be better if rather than the 80 I could post a neobook variable there. for example lets say I have a description that says West Coast (the group with the 80 value). If I could get the chart to show West Caost along the blue bar it would provide a lot more information. or replace the 80 with West Coast.

I don't think this is possible without the owner of the dll makes changes.

Any thoughts?
Don

'If you want to get a brontosaurus from 'a' to 'b' then you ride the dinosaur - you don't carry it!'
User avatar
datadon
 
Posts: 389
Joined: Sun Apr 03, 2005 7:55 pm
Location: Lorena Texas

Postby David de Argentina » Thu Apr 30, 2009 11:36 am

Hi Don,

Perhaps ae_Graph_AddLegend function could be usefull for you.

I added this line on the chart:

ae_Graph_AddLegend "2000|1|West Coast*East Coast*Middle|3|#FFFFFE|0|0|0|0"

and I get this chart:

Image

You can change the alignment of the legend changing the "3" value.

My devaluated cent,
David de Argentina
User avatar
David de Argentina
 
Posts: 1553
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina

Postby datadon » Thu Apr 30, 2009 11:53 am

Well yes that is a possibility. I have been using the legend. I had not thought about it as a way to placiing the variable there. I will try it and see how it works.

Thanks for your help David. It is a good product. I hope that someday he can add gantt charts to the software. Something with a data grid etc.

I will not hold my breath as I think he may be done with development.

Don
Don

'If you want to get a brontosaurus from 'a' to 'b' then you ride the dinosaur - you don't carry it!'
User avatar
datadon
 
Posts: 389
Joined: Sun Apr 03, 2005 7:55 pm
Location: Lorena Texas

Postby David de Argentina » Thu Apr 30, 2009 11:56 am

Hi Don,

with this line:

ae_Graph_AddLegend "2000|1|West Coast*East Coast*Middle|4|#FFFFFE|1|0|0|0"

I get this chart:

Image


You have two values to change for better results:

a) The Alignment: (in this sample, the value "4") could be:
-1 = RMC_LEGEND_NONE
1 = RMC_LEGEND_TOP
2 = RMC_LEGEND_LEFT
3 = RMC_LEGEND_RIGHT
4 = RMC_LEGEND_BOTTOM
5 = RMC_LEGEND_UL
6 = RMC_LEGEND_UR
7 = RMC_LEGEND_LL
8 = RMC_LEGEND_LR

b) The Style: (in this sample, the second value "1") could be:
1 = RMC_LEGENDNORECT
2 = RMC_LEGENDRECT
3 = RMC_LEGENDRECTSHADOW
4 = RMC_LEGENDROUNDRECT
5 = RMC_LEGENDROUNDRECTSHADOW


Another devaluated cent,
David de Argentina
User avatar
David de Argentina
 
Posts: 1553
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina

Line Chart

Postby kpmcginley » Mon Sep 06, 2010 11:39 am

David:
I have used RM Chart previously. Your version is much more useful and user-friendly. However, I was creating line charts previously. Can we create line charts using your plug-in? Thanks

Kevin
kpmcginley
 
Posts: 19
Joined: Mon Apr 07, 2008 1:43 pm

Postby David de Argentina » Mon Sep 06, 2010 5:49 pm

After redefined all PowerBasic-NeoBook SDK skeleton, i'm working on recreate all plugins with the new style and design. I'll add to todo list your comment. Thanks !

David de Argentina
User avatar
David de Argentina
 
Posts: 1553
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina

Postby calamar » Tue May 03, 2011 7:09 am

Hi all!

I'm using NeoChart plugin for creating a chart on my neobook app. The thing is that I like to do a chart similar to the one that appears when you execute the "TestNeoChart" app that comes with the plugin. To be concrete, I'd like to create a chart like the bottom right one:

Image

The thing is that I don't really know if I can create a kind of chart similar to the green line shown in the picture.

Is it possible?

Thanks!
@mt!
===
User avatar
calamar
 
Posts: 9
Joined: Mon Jan 05, 2009 4:52 am

Previous

Return to PlugIn Discussions

Who is online

Users browsing this forum: No registered users and 2 guests

cron