stitchfix / pyxley

Python helpers for building dashboards using Flask and React
MIT License
2.27k stars 257 forks source link

labelsOutside is not a function type error #30

Open AnishSN opened 8 years ago

AnishSN commented 8 years ago

I am getting below error in javascript on rendering a pie chart Uncaught TypeError: this.chart.x(...).y(...).showLabels(...).labelType(...).showLegend(...).labelsOutside is not a function

code:

col = OrderedDict([ ("Floors", {"label": "Floors"}) ]) df = pd.read_csv("fitbit_data.csv")

pc=PieChart(col,df["Floor"], init_params={},chart_id="piechart", url="/piechart/", colors=[],label_type="percent") ui.add_chart(pc)

......