Questions tagged [python-nvd3]

Python-nvd3 is a pythonic wrapper around the JS library nvd3. It allows you to create dynamic graphs with Python, rendering them to JS.

10 questions
2
votes
1 answer

How to make Nvd3 use log scale on y-axis

How to use log scale in nvd3 lineChart y-axis? I'm plotting these series which contain very large numbers: ydata1 = [13947989924.43, 13944328607.2, 13936012870.52, 13792849748.97, 13756681531.69] ydata2 = [10031442377.14, 10026457857.22,…
DougKruger
  • 3,434
  • 8
  • 31
  • 56
2
votes
0 answers

Python-nvd3, how to set x-axis to log scale

I'm using the python wrapper for nvd3 to plot line chart as shown below. But I'll wish to know how to set the x-axis to log scale from nvd3 import lineChart chart = lineChart(name="lineChart", x_is_date=False, x_axis_format="AM_PM") xdata =…
DevEx
  • 3,247
  • 10
  • 37
  • 57
1
vote
0 answers

How to set nvd3 lineChart x-axis to use string

I'm a complete noob, I wish to plot a lineChart using the python wrapper of the nvd3 library built on top of d3.js. I've been exploring the x_axis_format of the lineChart and desire to utilize custom formatting so I can use strings on x-axis . The…
DougKruger
  • 3,434
  • 8
  • 31
  • 56
0
votes
0 answers

nvd3: how to make static chart look like realtime chart

I am new to nvd3 and still exploring the concepts. In my flask project I'm trying to display a line chart for static data that appears to move as we see in real-time data but I could just get a chart which is static. Below is my HTML code where I'm…
photon
  • 1
  • 2
0
votes
1 answer

How to avoid text overlapping in odoo 10 nvd3 pie chart

I am using odoo 10. When I go to tree view then charts then click on pie chart icon. Pie Labels are overlapping at some points. I tried to some work around in /web/static/nvd3/nv.d3.js file but it is either giving me errors or n effect. Could anyone…
user3606682
  • 1,597
  • 3
  • 13
  • 22
0
votes
2 answers

Equal x-axis ticks for time series data

I have a timeseries data from which I am trying to build a stackedAreaChart with nvd3. Series look like this: xdata = ['2017-11-17', '2017-12-17', '2018-01-17', '2018-02-17', '2018-03-17', '2018-04-17'] ydata = [7277L, 9579L, 6291L, 6715L, 8743L,…
0
votes
2 answers

Error installing django-nvd3

I have the following error when executing the following command pip3 install django-nvd3 Collecting django-nvd3 Using cached django-nvd3-0.9.7.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call…
Lechucico
  • 1,404
  • 4
  • 19
  • 43
0
votes
1 answer

How to plot bullet chart using python-nvd3?

I am completely new to python web development and this is my first web app using Python and Django. For plotting purposes I am using python-nvd3. I followed the instructions here :…
0
votes
1 answer

python-nvd3 missing xAxis ticks

I create a multibar chart in python with python-nvd3. The problem is that only every second X-Axis tick/label is showing up on the chart. I generate is the chart in python before passing it through to a flask-template. The problem is described in…
Dusty Boshoff
  • 904
  • 13
  • 36
0
votes
0 answers

Python NVD3 from Pandas dataframe

I am unable to figure out how to create a NVD3 chart (stackedArea) in Python from a Pandas Dataframe using the python-nvd3 wrapper. A demo with a list of integers is working without issues. My intitial Data consists a series of dates and a series of…
lammy
  • 395
  • 1
  • 4
  • 16