Update on daru-view:
This week I worked on Charteditor and displaying of multiple charts in googlecharts.
- Displaying of multiple charts in a single cell in IRuby notebook and in a single row in web frameworks has been implemented and the PR is open for review along with the Chartwrapper PR. Check out the examples here.
- ChartEditor: It is implemented in this PR (must be reviewed after Chartwrapper gets merged) and is working fine in web framewroks but in IRuby notebook it appears behind the elements of notebook like this:
I tried a lot to figure out this problem but it still persists. The div of this dialog box is generated dynamically when we click on the edit button and it remains until we click on theok
orcancel
button.
What I tried:
a. Increasing the z-index of dialog box in developer’s tools which worked well, so increasing the z-index of the dialog box is a solution.
b. Increasing the z-index of the dialog in the chart_div using class name(as dialog box does not have id).
c. Incresing the z-index of the dialog in the button click listener.
d. Creating async function in listener and then increasing the z-index (as I was unable to get the dialog so I used sleep in it).
e. Reducing the z-index of other charts.
Nothing worked out. I was unable to get the dialog box element through the script as when the dialog box is generated it makesaria-hidden="true"
for other divs.