You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by Ovilia <ov...@gmail.com> on 2023/03/03 06:48:54 UTC

Re: Box Plot Chart Outliers

Sorry for the late reply.
Please checkout the document:
https://echarts.apache.org/en/option.html#tooltip.formatter
You can use callback functions to make it to be dynamic.
formatter: function (params) { console.log(param); return params... }

Thanks

*Ovilia*


On Tue, Feb 21, 2023 at 10:21 PM Trivedi, Tej CONS <Te...@ferring.com>
wrote:

> Hello Ovilia
>
>
>
> I went through the demo, as per my understanding the tooltip can pass only
> constant value.
>
> Actually, the requirement is to have dynamic value inside the tooltip for
> outlier plot.
>
> Can you explain how the dataset format should be such that the tooltip can
> be fetch?
>
>
>
> Thank you.
>
>
>
> Regards,
>
> Tej Trivedi
>
>
>
> *From:* Ovilia <ov...@gmail.com>
> *Sent:* 16 February 2023 08:24
> *To:* Trivedi, Tej CONS <Te...@ferring.com>
> *Cc:* dev@echarts.apache.org; Fernandes, Jose <Jo...@ferring.com>
> *Subject:* Re: Box Plot Chart Outliers
>
>
>
> Hi,
>
> I made a demo for you.
>
>
>
>
> https://echarts.apache.org/examples/en/editor.html?c=boxplot-light-velocity&code=PYBwLglsB2AEC8sDeAoWtJgDYFMBcsA2musiaRjgB5gEDkAshAMYAWOWAzjALQPAAnXAE9YAUSogcAiAFsc0MHQA05UrgBmtWHWYKw0umoC-qiqgroDNegFcQUgQQCKAZlgBqWAEYAdAFZYACpYAElnACVYAB1oLGAAd2kXb1geHwDgsMiVNXQAI0EAE2kAYWB4px0AYgBOetzLWEKBEoEAdQgisFYCbzNLazAAZTBhXAILJtgNGDB2nAgAc1ZtOmhBWQBDLEbp2cVhiAAvfB8AFgGmrAhoHAAJRZXtACYABjzYU0_NNe83gCkewoYFA9FqgKMFGMJAAugMilswFtODhtMRzJ8APRY2AgARoyDSHjLDYEz7cWwCPQEDHTemEAAc_jeylgAHZzqzYBDuf92dzaq5uczBSy2bVGYKpWzGTKfG9FRL5ULuQA2cUctUi_5s_5KhUG2raiXa-GfenoQjGwVc022kXyqUizVywUGxl22CM4Vs9kQ2W671Op2-70G_3c9km8Nvc2W6ZMkOOkUx9nvP0Z2BqrOMmO1AUS10qoOi2WF71ez0ukVVutxq4J0hMgPe0ul3MRivRqNe9mansSoO1XOtvMpzO1muygdS-NNigtqd-p1BwdtqNjjvT70Vxl7tdV4de2quj2lgWwi2WK_QxtTEECLbQTizASySbXsZSeiFSTxJRGwoZgYA0ZZJlgCADFkAA5LZ5AAMU2JEDCqOhqHxZAADcdlsHBjDoL5PhhO81AfUgNAEYBZAAESRFE0VCaASioPogJmKjZAAFSfF831kCIcE4WwsG0bwTDhAZQQqSAQE_R9liWZIdCgnBZGBWAtioCBOAABWAW5UPkwZhB_HROFYLYikSKFSBIr4BiWGQimM9Bfnof4gUbGRng8yFG0KMBQQ_HRvH8IESG-dAqAAQW0zhXIwUyzl0JEcCWQRhA0wpbGYrYBGEABxLY5IwAQ8MbaB4JwYrSt9NROBAG4wBigktkS9ALMSAgNB2VETEbRrmoAGVuM5yM61hupmPqcAk9AotgYQ4p0xLvxSnCsDwjSqvkegAGtZCxThYFkW5bBOl56mURU3g0oaoNanB2rIJouoSAgwHKuboUigZURkITaTIz5dpSv8muAQDPnW39gH_KGNPQRFkVRMAmJYtiYeAGSIFKiaKOQoLlJAfL4JO-AAD5XstECXwqHBfHiJYAApSafWROAASgAbmvdACTAKk4DoAAeIoICwynn2EHpbiWJbgFsWAEmfMBRaxCWpdspp7N-0jMSaMH6CV7AIEMdjYfM5gUItz4UYY9HmOoAgXnm2Ar2MHmgA
> <https://urldefense.com/v3/__https:/echarts.apache.org/examples/en/editor.html?c=boxplot-light-velocity&code=PYBwLglsB2AEC8sDeAoWtJgDYFMBcsA2musiaRjgB5gEDkAshAMYAWOWAzjALQPAAnXAE9YAUSogcAiAFsc0MHQA05UrgBmtWHWYKw0umoC-qiqgroDNegFcQUgQQCKAZlgBqWAEYAdAFZYACpYAElnACVYAB1oLGAAd2kXb1geHwDgsMiVN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AIEMdjYfM5gUItz4UYY9HmOoAgXnm2Ar2MHmgA__;!!OeZQUkXZ9iSfoKzpOA!oJtn4HEjtyoF7H2gc4h9D5uvRg4k_1v8a9LFOQQ20XgpOd5r9f9M7uKLl-V7RwcU3YEl-zC65Din0ZvLj8sPWi8$>
>
>
>
> Thanks
>
>
>
> *Ovilia*
>
>
>
>
>
> On Fri, Feb 10, 2023 at 4:43 PM Trivedi, Tej CONS <Te...@ferring.com>
> wrote:
>
> Hello Ovilia,
>
>
>
> Regrets for delayed response!
>
>
>
> I had already gone through this link, but I do not understand html in more
> details.
>
> I request you to provide some json script inside your example, which I
> shared last time, such that I can able to understand how the values can be
> dynamic.
>
>
>
> Thank you.
>
>
>
> Regards,
>
> Tej Trivedi
>
>
>
> *From:* Ovilia <ov...@gmail.com>
> *Sent:* 01 February 2023 09:11
> *To:* dev@echarts.apache.org
> *Cc:* Fernandes, Jose <Jo...@ferring.com>; Trivedi, Tej CONS <
> Tej.Trivedi@ferring.com>
> *Subject:* Re: Box Plot Chart Outliers
>
>
>
> *Caution! *External email. Do not open attachments or click links, unless
> you know the content is safe.
>
> Hi,
>
>
>
> The tooltip formatter can be customized. The document is
> https://echarts.apache.org/en/option.html#series-boxplot.tooltip.formatter
> <https://urldefense.com/v3/__https:/echarts.apache.org/en/option.html*series-boxplot.tooltip.formatter__;Iw!!OeZQUkXZ9iSfoKzpOA!txF0gd9G2_om3uzaWCaHeptabPtrgoMgIf6cQOaEHvMO4qlRdX_x49hngZ006l0yb1AiJXbqpit5x_z7XIZT848$>
>
> If you have a very special design, you can also return an HTML string.
>
>
>
> Thanks
>
>
>
> *Ovilia*
>
>
>
>
>
> On Tue, Jan 31, 2023 at 12:17 AM Trivedi, Tej CONS <
> Tej.Trivedi@ferring.com> wrote:
>
> Hello
>
> In boxplot example, is it possible to have customize tooltip for outliers?
>
> Please refer link below from your examples:
> https://echarts.apache.org/examples/en/editor.html?c=boxplot-light-velocity
> <https://urldefense.com/v3/__https:/echarts.apache.org/examples/en/editor.html?c=boxplot-light-velocity__;!!OeZQUkXZ9iSfoKzpOA!txF0gd9G2_om3uzaWCaHeptabPtrgoMgIf6cQOaEHvMO4qlRdX_x49hngZ006l0yb1AiJXbqpit5x_z7BL0f6NQ$>
>
> Consider this example as one of our requirement, where you see "expr" as
> tooltip for outlier, instead we need batch number from our dataset to use
> inside tooltip.
>
> Can you help us re-direct to support channel where we can connect on
> call/meet virtual to understand the possibility of our requirement.
>
> Thank you.
>
> Regards,
> Tej Trivedi
>
>
> Proprietary or confidential information belonging to Ferring Holding SA or
> to one of its affiliated companies may be contained in the message.
> If you are not the addressee indicated in this message (or responsible for
> the delivery of the message to such person), please do not copy or deliver
> this message to anyone.
> In such case, please destroy this message and notify the sender by reply
> e-mail.
> Please advise the sender immediately if you or your employer do not
> consent to e-mail for messages of this kind.
> Opinions, conclusions and other information in this message represent the
> opinion of the sender and do not necessarily represent or reflect the views
> and opinions of Ferring.
>
>