"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# NVD3 \n",
"\n",
"\n",
"## OHLC Chart\n",
"\n",
"More information about this chart [here](http://nvd3.org/)"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"\n",
"\n",
"\n",
"\n",
"\n",
""
],
"text/plain": [
""
]
},
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"from epyk.core.Page import Report\n",
"from epyk.tests import data_urls\n",
"\n",
"rptObj = Report()\n",
"\n",
"\n",
"data_rest = rptObj.py.requests.csv(data_urls.PLOTLY_APPLE_PRICES)\n",
"\n",
"ohlc = rptObj.ui.charts.nvd3.ohlc(data_rest, closes=[\"AAPL.Close\"], highs=[\"AAPL.High\"], lows=[\"AAPL.Low\"], opens=[\"AAPL.Open\"], x_axis='Date')\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
}