{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "
\n", " \n", " \n", " \n", "
" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# NVD3 \n", "\n", "\n", "## Gauge Chart\n", "\n", "More information about this chart [here](http://nvd3.org/)" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "" ], "text/plain": [ "" ] }, "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ "from epyk.core.Page import Report\n", "\n", "rptObj = Report()\n", "\n", "rptObj = Report()\n", "\n", "c = rptObj.ui.charts.nvd3.gauge(42)\n", "#\n", "\n", "rptObj.ui.button(\"reset\").click([\n", " c.build(40),\n", "])\n", "\n", "\n", "rptObj.ui.button(\"reset\").click([\n", " c.build(90),\n", "])\n", "\n", "\n", "rptObj.outs.jupyter()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "For more details about this charts and the various options and properties available please refer to the [official website](http://nvd3.org/)\n", "\n", "Anything on the website should be available in the Python interface.\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Go back to the Chart Home page\n", "
\n", "Do not forget that this is a collaborative framework so do not hesitate to give feedbacks and like the different repository to get more visbility.\n", "\n", "Also any help is more than welcome !" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.2" } }, "nbformat": 4, "nbformat_minor": 4 }