| 304 | | ``float, default = 1.5'`` |
| 305 | | |
| | 304 | ``float, default = 1.5`` |
| | 305 | |
| | 306 | .. index:: legend options |
| | 307 | .. _legend-options: |
| | 308 | |
| | 309 | Legend Options |
| | 310 | -------------- |
| | 311 | |
| | 312 | **opacity** |
| | 313 | Sets the opacity of the legend. The value ranges from 0 to 1.0. |
| | 314 | |
| | 315 | ``float, default = 0.8`` |
| | 316 | |
| | 317 | **borderColor** |
| | 318 | Sets the border color of the legend. |
| | 319 | |
| | 320 | ``hexadecimal color code, default = '#000000'`` |
| | 321 | |
| | 322 | **hide** |
| | 323 | Toggles the visibility of the legend. |
| | 324 | |
| | 325 | ``boolean, default = False`` |
| | 326 | |
| | 327 | **position** |
| | 328 | This option can be used to place the legend at a particular location on the |
| | 329 | chart. The top, bottom, left, and right offsets can be adjusted. |
| | 330 | |
| | 331 | ``int, default = top: 20, left: 40, bottom: None, right: None`` |
| | 332 | |
| | 333 | .. index:: padding options |
| | 334 | .. _padding-options: |
| | 335 | |
| | 336 | Padding Options |
| | 337 | --------------- |
| | 338 | |
| | 339 | **left** |
| | 340 | Sets the left padding for the chart. |
| | 341 | |
| | 342 | ``int, default = 30`` |
| | 343 | |
| | 344 | **right** |
| | 345 | Sets the right padding for the chart. |
| | 346 | |
| | 347 | ``int, default = 30`` |
| | 348 | |
| | 349 | **top** |
| | 350 | Sets the top padding for the chart. |
| | 351 | |
| | 352 | ``int, default = 30`` |
| | 353 | |
| | 354 | **bottom** |
| | 355 | Sets the bottom padding for the chart. |
| | 356 | |
| | 357 | ``int, default = 30`` |
| | 358 | |
| | 359 | .. index:: stroke options |
| | 360 | .. _stroke-options: |
| | 361 | |
| | 362 | Stroke Options |
| | 363 | -------------- |
| | 364 | |
| | 365 | **color** |
| | 366 | Sets the color of the bar outline stroke. |
| | 367 | |
| | 368 | ``hexadecimal color code, default = '#ffffff'`` |
| | 369 | |
| | 370 | **hide** |
| | 371 | Toggles the visibility of the bar outline stroke. |
| | 372 | |
| | 373 | ``boolean, default = False`` |
| | 374 | |
| | 375 | **shadow** |
| | 376 | Toggles the visibility of a shadow around each bar. |
| | 377 | |
| | 378 | ``boolean, default = True`` |
| | 379 | |
| | 380 | **width** |
| | 381 | Sets the width of the bar outline stroke. |
| | 382 | |
| | 383 | ``int, default = 2`` |
| | 384 | |
| | 385 | .. index:: yval options |
| | 386 | .. _yval-options: |
| | 387 | |
| | 388 | Yval Options |
| | 389 | ------------ |
| | 390 | |
| | 391 | .. versionadded:: 0.4.3 |
| | 392 | |
| | 393 | **show** |
| | 394 | Toggles the visibility of y values above the bars. |
| | 395 | |
| | 396 | ``boolean, default = False`` |
| | 397 | |
| | 398 | **inside** |
| | 399 | Toggles the placement of the y values. They are above the bars by default. If |
| | 400 | a bar is too small to show its y value inside the bar, the value is drawn above |
| | 401 | the bar. |
| | 402 | |
| | 403 | ``boolean, default = False`` |
| | 404 | |
| | 405 | **fontSize** |
| | 406 | Sets the font size of the y values. |
| | 407 | |
| | 408 | ``int, default = 11`` |
| | 409 | |
| | 410 | **fontColor** |
| | 411 | Sets the color of the font of the y values. |
| | 412 | |
| | 413 | ``hexadecimal color code, default = '#000000'`` |
| | 414 | |
| | 415 | .. index:: miscellaneous options |
| | 416 | .. _misc-options: |
| | 417 | |
| | 418 | Miscellaneous Options |
| | 419 | --------------------- |
| | 420 | |
| | 421 | **fillOpacity** |
| | 422 | Sets the opacity of the bars. |
| | 423 | |
| | 424 | ``float, default = 1.0`` |
| | 425 | |
| | 426 | **shouldFill** |
| | 427 | Toggles whether the bars should be filled. |
| | 428 | |
| | 429 | ``boolean, default = True`` |
| | 430 | |
| | 431 | **barWidthFillFraction** |
| | 432 | Sets the fraction of the width that will be used to draw the bar. For example, |
| | 433 | a fraction of 1.0 will use the whole width to draw the bars (the bars will touch). |
| | 434 | |
| | 435 | ``float, default = 0.75`` |
| | 436 | |
| | 437 | **pieRadius** |
| | 438 | Sets the radius of the pie chart. This option is ignored for other charts. |
| | 439 | |
| | 440 | ``float, default = 0.4`` |
| | 441 | |
| | 442 | **colorScheme** |
| | 443 | Sets the color scheme of the chart. Available schemes include |
| | 444 | red, green, blue, grey, black, and darkcyan. DEFAULT_COLOR is |
| | 445 | '#3c581a' (green). |
| | 446 | |
| | 447 | ``hexadecimal color code, default = DEFAULT_COLOR`` |
| | 448 | |
| | 449 | **title** |
| | 450 | Sets the title of the chart. |
| | 451 | |
| | 452 | ``string, default = None`` |
| | 453 | |
| | 454 | **titleFont** |
| | 455 | Sets the font of the chart title. |
| | 456 | |
| | 457 | ``font name, default = 'Tahoma'`` |
| | 458 | |
| | 459 | **titleFontSize** |
| | 460 | Sets the size of the chart title font. |
| | 461 | |
| | 462 | ``int, default = 12`` |
| | 463 | |