Hi Sachith,

This can be achieved by adding following config. For content you can
specify colums/attributes you want to show.

tooltip: {"enabled":true, "color":"#e5f2ff", "type":"symbol",
"content":["EngineType","rpm"], "label":true}

@Kalpa; For your requirement is it fine to display as following where as
values are shown along with the columns/attributes ?

country: Sri Lanka
request count : 1234

Regards,

On Sun, Aug 14, 2016 at 10:10 AM, Kalpa Welivitigoda <[email protected]>
wrote:

> Hi,
>
> I too have a similar requirement where I want to customize the tooltip for
> a map, is it possible that we define our own pattern?
>
> Current tooptip is like 'Sri Lanka 1234"
>
> I want to have it like,
> 'Sri Lanka
> Request Count: 1234'
>
>
>
> On Sun, Aug 14, 2016 at 1:46 AM, Sachith Withana <[email protected]> wrote:
>
>> Hi Jerad,
>>
>> Yes I do agree with your first point. I have added a very cluttered graph
>> here. But it's not gonna be the case in the implementation cz I'm only
>> gonna show the top 10.
>>
>> But in the users perspective, rather than matching the colors, it might
>> help to have the name in the tool tip as well. That's what I meant.
>>
>> Thanks,
>> Sachith
>>
>> On Sat, Aug 13, 2016 at 12:54 AM, Jerad Rutnam <[email protected]> wrote:
>>
>>> Hi Sachith,
>>>
>>> In UX point of view & IMO, PIE chart is not a good solution for
>>> representing data that has large numbers. Is it something required or can
>>> we use some other chart type e.g. bar-chart ??
>>>
>>> Anyway for your question, i think it is possible to add the
>>> corresponding name of the value to the tooltip. But not sure about showing
>>> only the names which are in the legend.
>>>
>>> Regards,
>>> Jerad
>>>
>>>
>>> On Sat, Aug 13, 2016 at 1:46 AM, Sachith Withana <[email protected]>
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I have a scenario where there's a possibility of having a lot of inputs
>>>> for the pie chart.
>>>> Added an example chart below.
>>>>
>>>> [image: Inline image 1]
>>>>
>>>> But the tooltip *only* shows the value for the highlighted potion.
>>>>
>>>> Is there a way of adding the corresponding name of the value to that
>>>> tool tip as well?
>>>>
>>>> And also can we show only the names of the top 10 values in the legend?
>>>> Since it's hard to show them all.
>>>>
>>>> Regards,
>>>> Sachith
>>>> --
>>>> Sachith Withana
>>>> Software Engineer; WSO2 Inc.; http://wso2.com
>>>> E-mail: sachith AT wso2.com
>>>> M: +94715518127
>>>> Linked-In: <http://goog_416592669>https://lk.linkedin.com/in/sac
>>>> hithwithana
>>>>
>>>
>>>
>>>
>>> --
>>> *Jerad Rutnam*
>>> *Software Engineer*
>>>
>>> WSO2 Inc.
>>> lean | enterprise | middleware
>>> M : +94 77 959 1609 | E : [email protected] | W : www.wso2.com
>>>
>>> <https://wso2.com/signature>
>>>
>>
>>
>>
>> --
>> Sachith Withana
>> Software Engineer; WSO2 Inc.; http://wso2.com
>> E-mail: sachith AT wso2.com
>> M: +94715518127
>> Linked-In: <http://goog_416592669>https://lk.linkedin.com/in/sac
>> hithwithana
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Best Regards,
>
> Kalpa Welivitigoda
> Senior Software Engineer, WSO2 Inc. http://wso2.com
> Email: [email protected]
> Mobile: +94776509215
>
> [image: http://wso2.com/signature] <http://wso2.com/signature>
>



-- 

*Tharik Kanaka*

WSO2, Inc | lean . enterprise . middleware

Email: [email protected] | Web: www.wso2.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to