Blank X,Y Axis - Line Graph Widget

The place to discuss anything and everything about running your LiveCode on Android

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
Googie85
Posts: 105
Joined: Tue Aug 05, 2014 10:07 am

Blank X,Y Axis - Line Graph Widget

Post by Googie85 » Sun Sep 30, 2018 8:52 am

Hi Guys!!

I have included a screenshot of my app and I hope that I can explain myself clearly! What I am trying to do is remove the text on the X,Y Axis and leave them completely blank.

https://ibb.co/mFSABz


Any Ideas??


Many Thanks,


Googie.

AndyP
Posts: 375
Joined: Wed Aug 27, 2008 12:57 pm
Location: Seeheim, Germany (ex UK)
Contact:

Re: Blank X,Y Axis - Line Graph Widget

Post by AndyP » Sun Sep 30, 2018 10:03 am

It looks like there is no allowance for this in the widget.

You can try setting the ink to transparent under the color tab of the widget properties which will remove the text.. however you will also lose the grid lines.

The other option would be just to cover the x and y-axis labels with a borderless graphic rectangle the same color of your card background.
Andy Piddock

http://2108.co.uk/tinyide/ - TinyIDE gives you more space to develop your ideas

http://2108.co.uk/script-editor-themer/ Script Editor Themer - Your code has never looked so good

My software never has bugs. It just develops random features

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1782
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Blank X,Y Axis - Line Graph Widget

Post by [-hh] » Sun Sep 30, 2018 11:28 am

This is more related to LC Builder than special to Android. So I saw your post late.

A member of the team** has already implemented this feature, it's all done. He simply forgot to add the properties (what is done in 10 Minutes).

I have no time for a pull request (probably try to learn in the next weeks), so, as long he didn't add these properties, you could use the following.
  • 1. Change the ending of the attached file from "zip" to "lce" (do NOT unzip).
  • 2. Add the widget: Locate this lce-file with the Extension Manager (use the plus at topright).
  • 3. Restart LiveCode.
You will see a second chart icon that has the tooltip "Line Graph Temp" and has included
properties "showXLabels" and "showYLabels"
(use the property inspector, see also the dictionary entries).

Please note.
Of course, I had to use another signature (kind "livecode.community.hermann.linegraphtemp") because I cannot use kind "com.livecode.widget.linegraph".

________
** Edit. It was not Monte, he told me. I had some post by him on the use-list in memory and concluded from that.
Attachments
livecode.community.hermann.linegraphtemp.1.2.0.zip
(24.89 KiB) Downloaded 58 times
shiftLock happens

Post Reply

Return to “Android Deployment”