Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need pattern in venn diagram #10889

Closed
Surekaraja opened this issue Jun 5, 2019 · 14 comments
Closed

need pattern in venn diagram #10889

Surekaraja opened this issue Jun 5, 2019 · 14 comments

Comments

@Surekaraja
Copy link

Expected behaviour

need pattern in venn diagram as like as pie chart pattern

Actual behaviour

color fill of pattern in venn diagram is not like as pie chart

Live demo with steps to reproduce

https://jsfiddle.net/m5s28hn9/34/

Product version

highcharts v7

Affected browser(s)

@sebastianbochan
Copy link
Contributor

Hi @Surekaraja,
Thank you for contacting us. Could you post a mockup how it should be draw?

@Surekaraja
Copy link
Author

Surekaraja commented Jun 5, 2019 via email

@sebastianbochan
Copy link
Contributor

Hi @Surekaraja,
Summarising, in common area you would like to declare your own color (i.e red like below) which is not inherited from parents.

Mockup:
Zrzut ekranu 2019-06-05 o 15 00 35

Please correct me if Im wrong.

@Surekaraja
Copy link
Author

Surekaraja commented Jun 6, 2019 via email

@sebastianbochan
Copy link
Contributor

sebastianbochan commented Jun 6, 2019

Hi @Surekaraja,
You can achive that by setting the path.fill paramenter.

Demo:

Docs:

Im closing this ticket because of no bug here.

@Surekaraja
Copy link
Author

Surekaraja commented Jun 7, 2019 via email

@sebastianbochan
Copy link
Contributor

Hi @Surekaraja,
Please ensure that all your files (Highcharts, pattern-fill etc) are up-to-date. When I run the pie chart demo, all works properly.

Demo:

Please update my demo with your code which causes errors and broken patterns.

@Surekaraja
Copy link
Author

Surekaraja commented Jun 7, 2019 via email

@sebastianbochan
Copy link
Contributor

Hi @Surekaraja,
The file which is used in pie chart is exactly the same as for other series (venn etc).

Demo:

If it will not work, please recreate your example as live demo.

@HafizHussain31
Copy link

HafizHussain31 commented Oct 3, 2020

Hi,

I was checking the sample fiddle suggested by you, https://jsfiddle.net/BlackLabel/zfywm7xj/

It is supposed to fill with red diagonals, but it is still showing with inherited style on my chrome browser. please refer following screenshot.

image

Am I missing anything?

@pawelfus
Copy link
Contributor

pawelfus commented Oct 5, 2020

It's a bug in demo @HafizHussain31 - setting fill or fillColor won't work with this pattern. Pattern is made of straight, white lines, so there's nothing to color. Change pattern for example to this one: https://jsfiddle.net/BlackLabel/wm2trzsf/2/ - and fill will be present there.

If you need red lines, set color to red: https://jsfiddle.net/BlackLabel/wm2trzsf/3/

@HafizHussain31
Copy link

Got it thanks,

I have another query. When I create pattern and hover over any series item, pattern wont fade away as the other series fade.

https://jsfiddle.net/BlackLabel/wm2trzsf/3/

In the same link, just hover over any series item and see the pattern still displayed.

@pawelfus
Copy link
Contributor

Thank you @HafizHussain31 for pointing this out! It's a bug, created a separate ticket for that: #14372

@HafizHussain31
Copy link

HafizHussain31 commented Oct 19, 2020

Any quick workaround we have got?

---------------- Edited--------------------- I can see a work around in the link you shared, will test and update you. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants