[Xerte-dev] Re: poblem with chart page colour picker XOT and Xerte

Ron Mitchell ronm at mitchellmedia.co.uk
Tue Jan 31 12:25:26 GMT 2012


Ok cheers - I was assuming the change would need to be in the bar chart
section as all the other types seem to work ok.

But adding where you have definitely seems to have fixed it without causing
any problems with the other types.

I can't believe this hasn't cropped up previously.

Cheers

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 31 January 2012 12:14
To: For Xerte technical developers
Subject: [Xerte-dev] Re: poblem with chart page colour picker XOT and Xerte

 

You don't need to: I did yMin =- yMin * 0.9 etc, so the new yMin is already
calculated for these calcs - is that right?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 31 January 2012 12:11
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: poblem with chart page colour picker XOT and Xerte

 

When you say "Here you go" - was there meant to be an attachment?

 

Did you change tempH = (cd[i][j].y - yMin) * scalar; to tempH = (cd[i][j].y
- Math.floor(yMin * 0.9)) * scalar; ? Which certainly gets the first bar
appearing or somewhere else?

 

Cheers

Ron

 

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 31 January 2012 11:07
To: For Xerte technical developers
Subject: [Xerte-dev] Re: poblem with chart page colour picker XOT and Xerte

 

Here you go: if you have some series of data to test against, that'd be
handy.

 

In calculating yMin for the y-axis, I did Math.floor(yMin * 0.9) which I
think is  a sensible solution.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 30 January 2012 20:58
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: poblem with chart page colour picker XOT and Xerte

 

A possible additional bug with the chart page type when choosing bar chart
has been highlighted so might need some more magic and although I've just
looked and looked again at the script in chart.rlm I seem to lack the
mystical powers to even spot where the critter might be :-(

 

I've been testing this in response to someone asking if they were doing
something wrong... with bar chart selected and regardless of how many series
are added the first bar doesn't show e.g.
http://mitchellmedia.co.uk/moodle/xertetoolkits/play_269

 

It looks like it's the same on page 18 of the 560 example
http://www.nottingham.ac.uk/toolkits/play_560

 

I suspect it's an [i] or a [j] or a ++ out of place but I can't spot it! :-(

 

Any ideas?

Cheers

Ron

 

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 19 January 2012 10:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: poblem with chart page colour picker XOT and Xerte

 

like quidditch

On Thu, Jan 19, 2012 at 10:24 AM, Ron Mitchell <ronm at mitchellmedia.co.uk>
wrote:

Cheers! 

Seems to be a lot of wizards flying about! ;-)

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 19 January 2012 10:19
To: For Xerte technical developers
Subject: [Xerte-dev] Re: poblem with chart page colour picker XOT and Xerte

 

I fixed it.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 19 January 2012 10:18
To: 'For Xerte technical developers'
Subject: [Xerte-dev] poblem with chart page colour picker XOT and Xerte

 

Hi all

seemed better to post this here rather than the other lists...

 

Has an error crept in with recent developments with the chart page colour
picker? 

I was delivering some training yesterday using XOT and on this particular
XOT install when trying to set the chart colour with the picker it seems to
be appearing below rather than above the data entry box e.g.

 



 

I've tested this morning by replacing various files from an install where
this is working as it should but also just tested by creating a new page
template project with Xerte rather than XOT and the same issue arises. It
doesn't appear to be the chart.xwd causing the problem but I could be wrong
about that. I'll have another look later but wondering if everyone has the
same problem and where it might be if not in chart.rlm?

 

Cheers

Ron

 

This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it. Please do not
use, copy or disclose the information contained in this message or in any
attachment. Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham. 

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation. 


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20120131/483b0da1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 8231 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20120131/483b0da1/attachment-0001.jpg>


More information about the Xerte-dev mailing list