Knowledge base KB0191

Recommended setup for editing think-cell style files


A think-cell style file can be used to customize the default colors, styles, and schemes for think-cell charts. For the documentation of think-cell style files please refer to our online user manual in the appendix C Customizing think-cell.
This article describes our recommended setup for creating valid think-cell style files.

Editing a think-cell style file

In principle, any program that creates plain text files can be used as an editor. A think-cell style file should be created using a dedicated XML editor since it can check your style file for possible errors. We recommend to use the free Visual Studio from Microsoft (any version will do) since it offers the best XML editing experience we have seen so far.

Visit Microsoft's download page, choose the free edition (Visual Studio Community) and run the installer. Select Visual Studio Community once again when prompted. Please contact your internal IT department if you have problems installing the software.

Setting up Microsoft Visual Studio

Add XML support during installation

  1. In the window that allows to choose the components for Visual Studio, click Individual componentsCloud, database, and serverConnectivity and publishing tools.
  2. Click Install.

Enable automatic download of the associated syntax definition (XML Schema) from our webserver

  1. Go to Visual Studio → ToolsOptions…
  2. On the left, go to the Text Editor category.
  3. Choose XMLMiscellaneous.
  4. Enable Automatically download DTDs and schemas.

Enable the Error List View

  1. Go to ViewError List.

Now, if you move the mouse over highlighted errors, you will get a tooltip with a detailed explanation of the error. Fix any indicated warnings or errors before you use the style file.