Star score graphic generator achievable with inks... or...?

David V Glasgow dvglasgow at gmail.com
Sun Apr 4 09:05:39 EDT 2021


Thanks, but Bob Sneidar was exactly right in his original post.  His solution works beautifully with real numbers represented as part stars.  I did look at the segmented widget, but I wanted to represent real numbers from averaging customer ratings.

The only teeny  limitation is that between each star there is a small gap in which ‘between stars’ scores are not displayed until the threshold of the next stars leftmost point is reached.

In terms of the typical web display of customer feedback, it isn’t significant.

Cheers

David G

> On 2 Apr 2021, at 11:57 pm, Martin Koob via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi again
> 
> I just installed it following the instructions here
> 
> https://gist.github.com/matthewmaier/a803283ffa46a28e27fd
> 
> It seems to do the job.
> 
> Martin
> 
> 
>> On Apr 2, 2021, at 6:51 PM, Martin Koob via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> Hi David
>> 
>> If I understand what you want you could use the Segmented Control Widget to get what you want.
>> 
>> https://livecode.com/livecode-widgets-the-segmented-control/
>> 
>> It just has full ratings, i.e. whole stars however  in a comment to that tutorial Paul McClernan has a link to a "Five-Star rating system LiveCode Builder Widget has 10 states (half-stars)"
>> https://github.com/PaulMcClernan/community.livecode.widget.fivestars
>> 
>> I think this would do what you need.
>> 
>> You would need to install the widget in your IDE to use it.
>> 
>> Martin
>> 
>>> On Apr 2, 2021, at 9:14 AM, David V Glasgow via use-livecode <use-livecode at lists.runrev.com> wrote:
>>> 
>>> Of course what you suggest is a perfect solution.  
>>> 
>>> Someone had to mail me off list and explain it using very small words.
>>> 
>>> Cheers
>>> 
>>> David G
>>> 
>>>> On 2 Apr 2021, at 10:08 am, David V Glasgow <DVGlasgow at gmail.com> wrote:
>>>> 
>>>> 
>>>> 
>>>>> On 1 Apr 2021, at 6:00 pm, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>>>>> 
>>>>> Actually I think you would have to set the width of the top group, then set the left of the top group to the left of the bottom group. Simply changing the right will move the group I think. Just going off memory.
>>>>> 
>>>>> Bob S
>>>>> 
>>>> 
>>>> 
>>>> Thanks,Bob,  but as I understand what you are saying, wouldn’t that only trade in whole stars?  The easiest way to do that would be with icon switching - I want to have the last star part gold and part grey, (with a  vertical boundary through the star) if that is what is demand by the mean feedback score being represented.
>>>> 
>>>> I’m thinking perhaps icons will be the easiest way to go.  Maybe 10 stars each representing a degree of  ‘goldness’ and I will just set the stars Icons as required.  Duh!  Actually 11 stars, I will need a 0% gold.
>>>> 
>>>> Thanks anyway
>>>> 
>>>> Cheers
>>>> 
>>>> David G
>>> 
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list