EAST STYLE display has issues
Opened this issue · 8 comments
mahen3d commented
kunjara commented
This style in Jyotish Draw is called North like in Jagannatha Hora. Almost all designations are from JH.
mahen3d commented
sorry my fault i updated the correct style,
i had to correct following places in to get working for all the inputs (may be its bcasue my system design i only echo output in the view only.) But check following
In namespace Jyotish\Draw\Plot\Chakra;
public function drawChakra(\Jyotish\Base\Data $Data, $x, $y, array $options = null)
{
$this->setData($Data);
//mahen changed
if(!empty($options))
$this->setOptions($options);
-----
**
* Draw rashi labels.
*/
private function drawRashiLabel()
{
$options = $this->getOptions();
//mahen changed
if ($options['labelRashiFont']!="") {
$this->Renderer->setOptions($options['labelRashiFont']);
}
-------
/**
* Draw body labels.
*
* @param int $x
* @param int $y
*/
private function drawBodyLabel($x, $y)
{
$options = $this->getOptions();
$bodyLabelPoints = $this->Chakra->getBodyLabelPoints($x, $y, $options);
foreach ($bodyLabelPoints as $body => $point) {
//mahen changed
if (!array_key_exists($body, Graha::$graha) && !empty($options['labelExtraFont'])) {
$this->Renderer->setOptions($options['labelExtraFont']);
} elseif ($options['labelGrahaFont']!="") { //mahen changed
$this->Renderer->setOptions($options['labelGrahaFont']);
}
kunjara commented
Are you using version 1.1.0? Such mistakes should not be in this version.
nagarajan010 commented
shikhardb commented
@nagarajan010 Did you find the solution yet?
nagarajan010 commented
@shikhardb
nope, i had to make my own code for drawing the chart but its not fully done yet
shikhardb commented
@nagarajan010
Is the chart drawing function done? I'm having issues creating my own charts?
vaishalithaker commented
Can anyone provide chart rendering inputs code to render teh chart