Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions File-Formats/XlsIO/Working-with-Charts.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,9 @@ chart.PrimaryValueAxis.MaximumValue = 14.0;

//Number format for axis
chart.PrimaryValueAxis.NumberFormat = "0.0";

//Display unit for axis
chart.PrimaryValueAxis.DisplayUnit = ExcelChartDisplayUnit.Hundreds;
{% endhighlight %}

{% highlight c# tabtitle="C# [Windows-specific]" %}
Expand All @@ -469,6 +472,9 @@ chart.PrimaryValueAxis.MaximumValue = 14.0;

//Number format for axis
chart.PrimaryValueAxis.NumberFormat = "0.0";

//Display unit for axis
chart.PrimaryValueAxis.DisplayUnit = ExcelChartDisplayUnit.Hundreds;
{% endhighlight %}

{% highlight vb.net tabtitle="VB.NET [Windows-specific]" %}
Expand All @@ -483,6 +489,9 @@ chart.PrimaryValueAxis.MaximumValue = 14.0

'Number format for axis
chart.PrimaryValueAxis.NumberFormat = "0.0"

'Display unit for axis
chart.PrimaryValueAxis.DisplayUnit = ExcelChartDisplayUnit.Hundreds
{% endhighlight %}
{% endtabs %}

Expand Down