20230113

Adding percentages to labels in amcharts5

 Amcharts5 is a very powerful graphics library, however the documentation is really scarce.


If you want to add the percentage of a value in some label you must use the undocumented valuePercentTotal attribute in the desired text label, for example.

legendValueText: "[bold {fill}]{value} {valuePercentTotal.formatNumber('0.00p')}[/]"
Generates a label like this:


This value can be used in different labels and can be formatted as the other attributes like "value".

Hope this helps








 









20230101

Post resum 2022

Com cada any deixo aquí un resum del meu any 2022 sense editar molt. Un any marcat pel meu canvi  de feina d'Omatech (després de gairebé 16 anys) cap a Easypromos, on em sento molt ben acollit.

Kilòmetres patinats: 238, cal millorar!

Exits:

- Adsmurai x15

Gadgets of the year (comprats o regalats):

- LG Gram

- Airpods Pro Max

- Navalla suïssa

Samarretes del any:

DESERT

Friky coses guays:
- n8n.io
- parceljs
- mermaid
- sidecar
- browsershot
- lando.dev
- bitsy
- Xata
- Redox
- Stackblitz
- loom
- matomo
- facebook/lexical
- redpanda
- mattermost
- loadforge
- filamentphp
- bun.sh
- zig
- orchid
- remix
- prisma.io
- sveltekit
- baserow.io
- plausible.io
- fresh.deno.dev
- railway.app
- astro
- openai and Dall-e
- simplemvc
- squirephp https://github.com/squirephp/squire
- sushi php
- https://laravel.initializer.dev/
- ponylang.io
- https://github.com/JuliaLang/julia
- VemtoApp
- jsoncrack
- qwick.builder.io
- NocoDB
- FrankenPHP
- glitch.com
- locust.io
- https://whatthediff.ai
- https://turbo.build/
- rectorphp
- twill
- bref.sh
- spiral.dev
- ulid https://github.com/ulid/spec
- Mitosis
- sulu.io
- alpine.js
- blitz.js
- synthesia
- Nanocrazor

Jocs als que m'he viciat aquest any:
- PUBG New State
- Plants vs zombies 2
- Tetris99
- Katamari

Grups guays que he descobert aquest any:
- Desenterradas
- Dry Cleaning
- Grasias
- Dan Romer
- Clise to Modern
- Robot Emilio
- Ovlov
- Big Thief
- Dexist
- Wet Leg
- Pillow Queens
- Nation of Language
- Yawners
- Ezekiel
- Mitski
- Just Mustard
- Portico quartet
- Lund quartet
- Whatever, Dad
- Cuchillas
- Radiator Hospital
- Secundaria
- High Vis
- Policias y Ladrones
- Videoclub
- El diablo de Shangai
- Indian Summer
- Porridge Radio
- La Paloma
- Childbirth

Concerts als que he anat:
- Ojete Calor al Sant Jordi Club
- Los Punsetes + Marcelo Criminal a l’Apolo
- Just Mustard + Calibra al Sidecar
- Menta + El Diablo de Shangai a la sala VOL.
- The Cure al Palau Sant Jordi
- McEnroe + El verbo odiado a l’Apolo2

Pelis que he vist:
- Spiderman no way home
- La mano de Dios
- Don’t look up
- While we’re young 
- Marriage Story
- Attack the block
- Sputnik
- Ad Astra
- O que arde
- Gone Girl
- The French Dispatch
- The Adam Project
- Driven
- El método Williams
- All eyes off me
- Déjame caer
- Los Cronocrimenes
- Monster
- Lizzie
- Tourists
- Utoya
- Dr. Strange en el multiverso de la locura
- Moonfall
- Eternals
- Iron Sky
- Heat
- Peninsula
- Dredd
- Oranges Sanguines
- Apnee
- Prey
- Day shift
- To your last death
- Incendies
- El reino de la belleza
- Softie
- Yo, Cristina F
- Satan’s Slave
- Blonde
- X
- Sissy
- Deep Water
- Host
- Planeta rojo
- As Bestas
- Barbarian
- Captive State
- Troll
- Mantícora
- Your Lost Memories

Series a les que m’he enganxat:
- The book of Bobba Fett
- Curb your enthusiasm s4, s5, s6, s7, s8, s9, s10, s11
- Celebrity Bake Off España
- Station Eleven
- Curb your entusiashm
- All of us are dead
- Peacemaker
- Euphoria s2
- Mai neva a ciutat s1, s2, s3
- The Dropout
- Winning time
- The Boys s3
- Locomia
- Crims s1, s2, s3
- Love, Death + Robots s1, s2
- Maricon perdido
- Stranger Things s4
- Children of Dune
- Narco Saints
- Dahmer
- La liga de los hombres extraordinarios
- Antidisturbios
- The Bear
- Autodefensa s1, s2

Curts:
- Cerdita

Llibres que he llegit:
- Conversaciones con Ana Curra
- Domain Driven Design in PHP
- Radical Candor
- Astrofísica para gente con prisas
- From zero to sold

Comics:
- Dinastia de X / Potencias de X
- Dawn of X
- Hierba
- The Hellfire gala
- X lives of Wolverine / X deaths of Wolverine
- The trial of Magneto
- Destiny of X
- La patrulla X y los Nuevos titanes
- X-Factor
- DUNE I
- I molts més amb Marvel Unlimited

Teatre:
- Faemino y Cansado. Quien tuvo, retuvo

Documentals:
- Autosuficientes
- Warning: This drug may kill you
- 4 hours at the Capitol
- Devastados por el cristal
- Arcadeology
- Almost Ghosts
- Jimmy Savile, a British Horror Story
- The push
- Tell me who I am
- Natalie Wood, entre bambalinas
- Val
- Jane Fonda en cinco actos
- We were once Kids
- The John Wayne Gacy Tapes
- Los Anarquistas
- Keep sweet pray and obey
- Wall Street: David contra Goliat
- Swiped
- Orgasm Inc.
- Ummo, La España alienígena
- Entre la terra i el cel: Guerra
- Criptomonedas: guía para principiantes
- La Sagrada Família
- Osel
- Salvar al Rey

Podcasts:
- itnig
- X-Rey s1, s2
- Le llamaban Padre

Sortides al Extranjer:
DESERT

Hotels als que he anat:
- Granados 83
- Hotel Petit Mirador
- Ultonia, Girona

Restaurants:
- Ikoya
- Kanada Ya
- La Nansa, Sitges
- Els pescadors
- Lluerna, Santa Coloma
- La barraca del Delta, Amposta
- El Racó del Port, Les cases d’Alcanar
- Draps, Girona

Sitges 2022:

38 pelis, 800kms, 16 peatges

Pelis vistes:

Dijous 6:

- Hunt

- King of screen

- The breach

- Blood flower

- Carnifex

- Deep fear

Divendres 7:

- Polaris

- After Yang

- Satan’s Slave Communion

- [REC] Terror sin pausa

- Flesheater

Dissabte 8:

- Kids vs Aliens

- Saloum

- Mal de ojo

- Flux gourmet

- The Lair

Diumenge 9:

- Tales from the Occult

- Resurrection

Dilluns 10:

- Family Dinner

- Rubikon

- Occhiali neri

Dimarts 11:

- Megalomaniac

- Slash back

- Incroyable mais vrai

- Emergency declaration

- The Knocking

- Christmas bloody Christmas

Dimecres 12:

- Shepherd

- Fumer fait tousser

Dijous 13:

- Glorious

- Social Distancing

- Pearl

Divendres 14:

- Harbinger

- Viejos

Dissabte 15:

- Wolfkin

- La exorcista

- Sisu

- Alienoid

Ranking millors pelis (de millor a pitjor):

- Sisu

- Fumer fait tousser

- Pearl

- Glorious

- Incroyable mais vrai

- Satan’s Slave Communion

- Resurrection

- Mal de ojo

- Megalomaniac

- Deep Fear

- (menció especial al documental de [REC])

Ranking pitjors pelis (de pitjor a… bé):

- Occhiali neri

- Social Distancing

- Tales from the Occult

- Carnifex

- Polaris


Grups vistos al Primavera Sound 2022:

Dijous:

Aiko el grupo - 18:15 - Ouigo

Les Savy Fav - 18:55 - Binance

Richard Dawson - 19:05 - Plenitude

Dinosaur Jr. - 20:00 - Cupra

Sharon Van Etten - 21:05 - Binance

Yo la tengo - 22:20 - Cupra

Tame Impala - 22:55 - Estrella Damm

Pavement - 00:40 - Pull & Bear


Divendres:

Pinpilinpussies - 16:30 - Ouigo

Cariño - 17:15 - Binance

Beach Bunny - 18:00 - Cupra

Manel - 19:00 - Pull & Bear

Fontaines DC - 20:05 - Estrella Damm

Shellac - 20:50 - Plenitude

Beck - 21:20 - Pull & Bear

Parquet Tours - 22:35 - Plenitude

Jehnny Beth - 23:30 - Ouigo


Dissabte:

Die Katapult - 18:45 - Tous

Automatic - 19:55 - Ouigo

Black Country New Road - 20:40 - Binance

Nick Cave and the bad seeds - 22:00 - Pull & Bear

Bauhaus - 22:55 - Binance

Gorillaz - 00:15 - Estrella Damm


Que tingueu un molt bon any 2023!
Agustí