Skip to content

NPOI creates Excel charts and how to set the 'Axis Position' to 'Between Tick Marks' #1452

Closed Answered by HarlingPI
HarlingPI asked this question in Q&A
Discussion options

You must be logged in to vote

The following code can achieve the target result,
var ctChart = chart.GetCTChart();
var valax = plotArea.valAx[0];
valax.crossBetween = new CT_CrossBetween { val = ST_CrossBetween.between };

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by HarlingPI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant