You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by ni...@bliq.se on 2023/01/25 08:30:05 UTC

Distinguish lines with same values? Indicate more lines


In a line-chart with several series, the lines naturally overlap if they 
have the same value. Is there any way to show that the line contains 
more data? I saw some example with another library, where if say green 
and red lines overlapped, the resulting line would be dashed red and 
green.

Re: Distinguish lines with same values? Indicate more lines

Posted by ni...@bliq.se.
Hello Ovilia,
Glad you like the feature, I think it would be useful. I am not sure I 
can implement it, but I can start by discussing it.

- Would the setting be in the line-series? Or is this something that is 
useful on more chart-types? Maybe something similar exists already for 
other chart types?

- A setting for when to consider lines to overlap, I mean how much they 
have to overlap. What would be the unit?

- In my case I have 4 lines that overlap, I guess the resulting line 
should be from all overlapping lines.

Let me know what you think,
/Niklas

On 01.02.2023 04:32, Ovilia wrote:
> Hi Niche,
> 
> This sounds like a cool feature. Are you interested in making a pull
> request?
> Please checkout the wiki to learn more:
> https://github.com/apache/echarts/wiki
> 
> Thanks
> 
> *Ovilia*
> 
> 
> On Wed, Jan 25, 2023 at 4:45 PM <ni...@bliq.se> wrote:
> 
>> 
>> 
>> In a line-chart with several series, the lines naturally overlap if 
>> they
>> have the same value. Is there any way to show that the line contains
>> more data? I saw some example with another library, where if say green
>> and red lines overlapped, the resulting line would be dashed red and
>> green.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org


Re: Distinguish lines with same values? Indicate more lines

Posted by Ovilia <ov...@gmail.com>.
Hi Niche,

This sounds like a cool feature. Are you interested in making a pull
request?
Please checkout the wiki to learn more:
https://github.com/apache/echarts/wiki

Thanks

*Ovilia*


On Wed, Jan 25, 2023 at 4:45 PM <ni...@bliq.se> wrote:

>
>
> In a line-chart with several series, the lines naturally overlap if they
> have the same value. Is there any way to show that the line contains
> more data? I saw some example with another library, where if say green
> and red lines overlapped, the resulting line would be dashed red and
> green.