Comments (5)
Hi
thanks a lot for the report, there is a bug.
Please, can you send your complete code?
Thanks
from astrochart.
Good morning,
Thanks for the reply. Yes, of course. Exactly what code do you need? The data array for the natal and transit data?
Meanwhile, I've noticed that the error does not occur IF we increase the canvas of the chart and lower the scale of the glyphs (no collision issues...)
Kind regards,
from astrochart.
Exactly what code do you need?
Please, your JavaScript, if is it possible. For instance:
<script type="text/javascript">
var dataRadix = {
"planets":{"Moon":[45.930008627285154],"Venus":[263.2584780960899],"Jupiter":[173.07043720306802],"NNode":[174.6895307834239],"Mars":[217.97167231451178],"Lilith":[196.19480722950317],"Saturn":[252.92341772675047],"Chiron":[348.1157239728284],"Uranus":[16.7900184974611],"Sun":[297.68062428797253],"Mercury":[289.10132025725494],"Neptune":[338.01899718442604],"Pluto":[285.6473452237151, -0.123]},
"cusps":[348.20510089894015,38.108507808919654,65.20783751818992,84.96083001338991,103.77897207128007,127.1084408347092,168.20510089894015,218.10850780891965,245.20783751818993,264.9608300133899,283.77897207128007,307.1084408347092]
};
var dataTransit = {
"planets":{"Moon":[60.739220451080115],"Venus":[305.6996431634707],"Jupiter":[198.6565699576221],"NNode":[157.25592636170012],"Mars":[324.84013049518734],"Lilith":[232.88904207991555],"Saturn":[259.1015412368795, -0.2],"Chiron":[350.7285587924208],"Uranus":[20.678747795787075],"Sun":[260.94912160755536],"Mercury":[281.5699804920016],"Neptune":[339.3848859932604],"Pluto":[286.29683069280685]},
"cusps":[296, 350, 30, 56, 75, 94, 116, 170, 210, 236, 255, 274]
};
window.onload = function () {
var chart = new astrology.Chart( 'paper', 600, 600, {MARGIN:100, SYMBOL_SCALE:0.8});
var radix = chart.radix( dataRadix );
// Aspect calculation
// default is planet to planet, but it is possible add some important points:
radix.addPointsOfInterest( {"As":[dataRadix.cusps[0]],"Ic":[dataRadix.cusps[3]],"Ds":[dataRadix.cusps[6]],"Mc":[dataRadix.cusps[9]]});
var transit = radix.transit( dataTransit );
transit.aspects();
};
</script>
Meanwhile, I've noticed that the error does not occur IF we increase the canvas of the chart and lower the scale of the glyphs (no collision issues...)
Please, try change:
astrology.COLLISION_RADIUS
https://github.com/Kibo/AstroChart/blob/master/project/src/settings.js#L161
For instance
var chart = new astrology.Chart( 'paper', 600, 600, {COLLISION_RADIUS:6});
Thanks
from astrochart.
Good morning,
I'm sorry for the late reply - thanks for your help.
Changing the Collision_radius does the job, along with increasing a a little the map. The problem is that in my own birthdate I had almost all the planets together in Taurus ;) Looking now at the Chrome debug console, the collisions are all solved without any error.
Clear skies
Kepler
from astrochart.
This issue was divided to
from astrochart.
Related Issues (20)
- Libra symbol is confused with North Node symbol HOT 5
- Synastry Chart Support HOT 1
- Multiple charts on a single page HOT 4
- What does mean points of interest? HOT 1
- Wrong order on planets position HOT 10
- License HOT 2
- Remove the transit cusps/houses HOT 1
- Missing ids for sign and houses
- Add topic Hacktoberfest to repo
- Provide better click-area for signs HOT 3
- Why houses are path and not text? HOT 1
- Can't change the background color of signs. HOT 1
- I don't understand ? HOT 2
- Allow transit chart to not show cusps HOT 1
- Fix custom symbol sign settings
- Design update method
- Libra sign HOT 5
- New symbol - simple help HOT 5
- Vertex HOT 1
- Data description HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astrochart.