Wiki

Clone wiki

Power BI Visuals - Violin Plot / Release Notes and Known Issues

Home | Usage and Visual Properties | Examples | Release Notes and Known Issues | Roadmap | Privacy Policy | Support


This page details releases and a high-level summary of their changes, as well as a list of known issues.

➕ Create an issue if your issue isn't listed below.

1.3.0.4

New Features

Revised Legend

The Legend property menu has some more options:

  • Category icon shape has been modified to be more violin-y.
  • Category icons can be enabled or disabled by setting the Show Categories property as appropriate.
  • The Show Statistical Indicators property allows you to toggle the display of enabled combo plot indicators, such as mean, meadian and quartiles (depending on the combo plot configuration).
  • If displaying quartiles on the comb plot and have the same formatting, the indicators will consolidate to a single legend item; conversely, if the formatting on each quartile is different then you will get a specific indicator for each quartile.
  • Display text for each statistical indicator can be modified by setting the appropriate property.

Column (Min/Max) Combo Plot

An additional combo plot is available, which plots a column spanning min to max in each category. This is similar in behaviour to a range column chart.

  • This is available in the Combo Plot property menu, by selecting Column (Min/Max) from the Plot Type property.
  • Statistical indicators available for addition to the plot are mean, median and quartiles.

KDE Plot Clamping

If you're not a fan of the KDE plot run-off that the violin produces, you can opt to restrict the plot to stay to the confines of the minimum and maximum values in each category.

  • To apply this setting, select Clamp to Min/Max from the Violin Options property menu.
  • With this enabled, the plot will abruptly stop at the min and max values, but the distribution will remain as if the plot were to continue as it did previously, which does its best to still communicate the distribution of your data.
  • Please bear in mind that while this may be desirable for your particular use case, sharply cutting the KDE plot when it cannot hit these confines naturally may hide insights about the modality (shape) of your data. As such, it is disabled by default.

Y-Axis Start and End

To bring the visual in-line with the behaviour of other cartesian charts, the Y-Axis property menu now allows you to specify Start and End values for your chart.

Behaviour against the KDE plot portion works very much like clamping, detailed above - if your KDE plot exceeds either boundary, the KDE plot will be truncated in a similar way but will show what the distribution looked like based on the entire set.

# Samples with Highlighted Value

If using the barcode combo plot option, you might have a large data set with a very low number of distinct values. In these cases, the combo plot does not communicate this well, due to the nature of its design (although the KDE plot will show this). To better help identify the data behind each bar, the default tooltip now contains a # Samples with Highlighted Value item on the tooltip.

Violin Stroke Width

The Stroke Width property in the Violin Options menu can now be set to 0, which means that the KDE plot line can be hidden if you just ant to work with the specified fill colour and transparency settings for each category.

Known Issues

  • Violin Sides Don't Always Overlap Correctly (#27)

1.2.0.3

A detailed write-up of the changes below is published here.

New Features

Improved Tooltip Support

Power BI Desktop (March 2019) introduced improved tooltip formatting options. We recently saw the introduction of report page tooltips as well. Changes have been applied to the visual to support these features and make tooltip formatting consistent with core visuals. This has resulted in some minor changes for the end user:

  • The Tooltip menu now contains all core tooltip formatting options (i.e. it's the standard Power BI Tooltip menu that you see in the core visuals).
  • The properties menu that allows customisation of the tooltip data points in the default tooltip has been renamed to Default Tooltip Details.
  • This is the same menu under the hood, so your configuration for any visuals will be retained when the new version of the visual is applied.

Culture Awareness for Measures

The visual was previously coded to only support the en-US locale, meaning that if you had applied locale-specific measures to your visuals then this would not be handled as intended. This has now been relaxed, and the following changes should be observed:

  • If you have applied formatting to your measure in the data model, the Y-Axis and default tooltip values will reflect this.
  • You may want to format the default tooltip measures differently to your Y-axis (e.g. show whole numbers on the axis but decimal values in the tooltip), so additional formatting options have been applied to the Default Tooltip Details menu:
    • #Samples Display Units and Decimal Places
    • Measure Display Units and Decimal Places

Note that this does not enable locale-specific translations for the visual, just for the displayed measure values.

Show Data Hotkey Support

Support for the Show Data hotkey (Alt Shift + F11) has been added in.

Bug Fixes

  • Visual treats zero as blank/null leading to totally wrong results (#67)
  • Hover text does not format mean and standard deviation (#62)

Known Issues

  • Violin Sides Don't Always Overlap Correctly (#27)

1.1.0.2

This release focuses on some incremental improvements to KDE bandwidth and combo plot functionality, as well as a number of bug fixes. A detailed write-up of the changes below is published here.

New Features

Barcode Plot Functionality

This displays your individual data points as a combo plot in the visual, and is an alternative to the box plot.

  • The box plot will remain the default combo plot for the visual to ensure continuity for existing users. This results in some additional changes ot the visual properties to support (details below).
  • Box Plot menu renamed to Combo Plot
  • Added Plot Type property to Combo Plot menu, with following options:
    • Box (default)
    • Barcode
  • Median Stroke Width and Mean Stroke Width properties added, which allows independent control of median line from the box plot stroke width where applicable
  • Median Line Style property added, which allows styling of the median line in the combo plot where applicable
  • The Barcode plot has additional properties to Show 1st and 3rd Quartiles as lines on the combo plot.
  • If enabled, you will have the following properties for each quartile line:
    • Line Color
    • Stroke Width
    • Line Style
  • Moving the mouse over the barcode plot will highlight the nearest data point and add its value to the tooltip (if enabled)

Bandwidth By Category

KDE Bandwidth can now be applied by category.

  • Previously, KDE bandwidth (whether estimated or specified) was applied with the same value over all categories. This remains the default option.
  • If a Category field is present, a Bandwidth By Category option will be available in the Violin Options menu
  • If Specify Bandwidth is disabled, enabling this option will apply the rule-of-thumb bandwidth to each category individually
  • If Specify Bandwidth is enabled, enabling this option will provide you with a box per category, and specifying a value will apply this to the individual category
  • You can verify the individual category values by enabling the KDE Bandwidth option in the Tooltip menu

Bug Fixes

  • Mean Circle Settings Mislabelled as Median (#51)
  • Removing Category with Legend Enabled Still Renders Legend (#49)
  • Category Doesn't Format Correctly (#59)
  • Debug Toggle Visible in About Menu (#60)

Known Issues

  • Visual treats zero as blank/null leading to totally wrong results (#67)
  • Hover text does not format mean and standard deviation (#62)
  • Violin Sides Don't Always Overlap Correctly (#27)
  • Tooltip Won't Display if Converted from Visual with Disabled Tooltip (Having been Previously Displayed) (#41)

1.0.0.1

Initial release of the visual.

Known Issues

  • Removing Category with Legend Enabled Still Renders Legend (#49)
  • Mean Circle Settings Mislabelled as Median (#51)
  • Violin Sides Don't Always Overlap Correctly (#27)
  • Tooltip Won't Display if Converted from Visual with Disabled Tooltip (Having been Previously Displayed) (#41)
  • Category Doesn't Format Correctly (#59)
  • Debug Toggle Visible in About Menu (#60)

Updated