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")
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)
......