Constellations styles does not apply
See original GitHub issueHi, community Why this code doesn’t work?
Celestial.apply({ constellations: { lineStyle: { stroke: `rgb(${color.rgb.r}, ${color.rgb.g}, ${color.rgb.b})`, width: 0.8, opacity: 0.8 } }, stars: { style: { fill: `rgb(${color.rgb.r}, ${color.rgb.g}, ${color.rgb.b})`, opacity: `${color.rgb.a}` } }, })
Styles, that I’m applying to the stars are displayed normally, but constellations become black and without any styles. Does anybody can help with this trouble?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Why Don't Constellations Look Anything Like What They're ...
Don't worry, you're not alone. Many constellations, frankly, don't look anything like what they're named. With their intriguing names, one would expect to ......
Read more >How Constellation Reflects To Style - Ne.Sense
Everyone generally believes that astrology affects how others perceive themselves. If you think that “wearing” also has different styles, and that “ ...
Read more >The Constellations | IAU - International Astronomical Union
Name / Pronunciation Abbr. English Name
Andromeda. an‑DRAH‑mih‑duh And the Chained Maiden
Antlia. ANT‑lee‑uh Ant the Air Pump
Apus. APE‑us, APP‑us Aps the Bird of Paradise...
Read more >The network signature of constellation line figures | PLOS ONE
We ask whether the geometry of constellations is unique to a sky culture (are humanoid-like figures characteristic only to Babylonia, and ...
Read more >Constellation | Definition, Origin, History, & Facts - Britannica
constellation, in astronomy, any of certain groupings of stars that were imagined—at least by those who named them—to form conspicuous ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry for the late answer, I was very busy. You managed to pick the two settings that were problematic. The constellation line setting was my fault, Because the constellation styles can be different depending on rank (set in json data), the setting needs to be changed into an array. I did not do that for settings applied at runtime. You can of course directly specify an array of color values with up to three values if you want different colors. The issue should be fixed now (v.0.7.30) For the star fill color to work stars.style.colors = false also needs to be set, otherwise automatically generated spectral colors will be displayed.
I have still the same problem. I want to set default width of the lineStyle to 4 but it does not change…?