https://dotnet.highcharts.com/Help/Highcharts/html/
https://dotnet.highcharts.com/Highcharts/Demo
Specifically, the above documentation only shows how to utilize the most basic functionality. It barely shows how to do any sort of styling.
Example #1: I couldn't get a border around the chart using "bordercolor" or "borderwidth". I had to resort to setting stylemode to true and using css.
Example #2: I can't find how to style the font for the title. The Title Style object is a hashtable.
Code: Select all
public Hashtable Style { get; set; }
How do I add the fontsize, font, etc to this?
Example #3: I can't add a gradient to the plot background directly. I had to utilize the following code, which I found after hours of searching online:
Code: Select all
<svg version="1.1" xmlns="http://www.w3.org/2000/svg">
<style type="text/css">
.table1 .highcharts-background {
stroke: black;
stroke-width: 2px;
}
.table1 .highcharts-plot-border {
stroke-width: 1px;
stroke: gray;
}
.table1 .highcharts-plot-background {
fill: url(#MyGradient)
}
</style>
<defs>
<linearGradient id="MyGradient" x1="0%" y1="100%" x2="100%" y2="0%">
<stop offset="0%" stop-color="#02f512" />
<stop offset="30%" stop-color="#F2E95D" />
<stop offset="70%" stop-color="#F2E95D" />
<stop offset="100%" stop-color="#f50202" />
</linearGradient>
</defs>
</svg>
Example 5: None of the example charts have any formatting applied other than what you can directly access.
If not, is there a more direct approach to getting .Net implementation questions answered?