Web based family history software

Question Individual distribution chart

  • Bogie
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Life is good!
More
3 years 2 months ago #1 by Bogie
Individual distribution chart was created by Bogie
Hi,
in webtrees 1.x the 'Individual distribution chart' showed different blue colors for 'Highest population', 'Lowest population' and 'Nobody at all'.
In webtrees 2.x all countries with events are only shown in green.
Why did this scaling disappear? It was a nice feature.

Bogie
webtrees 2.1.19 | PHP 8.1.27 | MariaDB 10.5.23 | Apache on Ubuntu 12.9
AutoComplete places of @tkempf, chart modules of @magicsunday, Fancy treeview of @justCarmen

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #2 by fisharebest
Replied by fisharebest on topic Individual distribution chart
It works OK for me.

The chart colours are defined by the theme.

Do you use a custom theme?

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • Bogie
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Life is good!
More
3 years 2 months ago #3 by Bogie
Replied by Bogie on topic Individual distribution chart
I tried the themes 'Colors', 'F.A.B.' and 'webtrees'. The color of the coutries is always green and the scale is missing, s. attachment.

Bogie
webtrees 2.1.19 | PHP 8.1.27 | MariaDB 10.5.23 | Apache on Ubuntu 12.9
AutoComplete places of @tkempf, chart modules of @magicsunday, Fancy treeview of @justCarmen
Attachments:

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #4 by HRN
Replied by HRN on topic Individual distribution chart
I see the same on my site. Green in F.A.B and Colors
Looks fine on demo site

webtrees 2.1.18 at visitusinmaputo.com/webtree PHP 8.1.27
webtrees 2.1 dev on local Wampserver 3.3.2 PHP 8.2.13/8.3.0 MySQL 8.2.0

Please Log in or Create an account to join the conversation.

  • norwegian_sardines
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 2 months ago - 3 years 2 months ago #5 by norwegian_sardines
Replied by norwegian_sardines on topic Individual distribution chart
I see the only green on my site as well.

I also see this when I inspect the page! Don't know however if it reveals anything!


Ken
Attachments:
Last edit: 3 years 2 months ago by norwegian_sardines.

Please Log in or Create an account to join the conversation.

  • Bogie
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Life is good!
More
3 years 2 months ago - 3 years 2 months ago #6 by Bogie
Replied by Bogie on topic Individual distribution chart
I started with v2.0.1 not v2.0.0 and inspected everthing thoroughly at the time.
If I recall correctly it worked until v2.0.1 and the change happened after v2.0.1.

Bogie
webtrees 2.1.19 | PHP 8.1.27 | MariaDB 10.5.23 | Apache on Ubuntu 12.9
AutoComplete places of @tkempf, chart modules of @magicsunday, Fancy treeview of @justCarmen
Last edit: 3 years 2 months ago by Bogie.

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #7 by fisharebest
Replied by fisharebest on topic Individual distribution chart
OK - found it.

It is a bug that has already been fixed.

The totals are generated as text, not integers.

Here is the patch.

github.com/fisharebest/webtrees/commit/9...cdd0f8b8660a80a2a98f

I guess there have been changes to the Google Chart service. Perhaps it used to be happy with numbers as strings instead of integers.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • Bogie
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Life is good!
More
3 years 2 months ago #8 by Bogie
Replied by Bogie on topic Individual distribution chart
Thank you, Greg, it works.
That was quick ;-)

Bogie
webtrees 2.1.19 | PHP 8.1.27 | MariaDB 10.5.23 | Apache on Ubuntu 12.9
AutoComplete places of @tkempf, chart modules of @magicsunday, Fancy treeview of @justCarmen

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
}